Move domain in use error below the input field
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
<div class="has-error text-center" ng-show="appInstall.error.other" ng-bind-html="appInstall.error.other"></div>
|
||||
<div class="form-group" ng-class="{ 'has-error': (appInstallForm.location.$dirty && appInstallForm.location.$invalid) || (!appInstallForm.location.$dirty && appInstall.error.location) }">
|
||||
<label class="control-label" for="appInstallLocationInput">Location</label>
|
||||
<div ng-show="appInstall.error.location"><small>{{ appInstall.error.location }}</small></div>
|
||||
<div class="input-group form-inline">
|
||||
<input type="text" class="form-control" ng-model="appInstall.location" id="appInstallLocationInput" name="location" placeholder="Leave empty to use bare domain" autofocus>
|
||||
<div class="input-group-btn">
|
||||
@@ -34,6 +33,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="appInstall.error.location"><small>{{ appInstall.error.location }}</small></div>
|
||||
</div>
|
||||
|
||||
<p class="small text-center text-warning" ng-show="appInstall.domain.provider === 'linode'">
|
||||
|
||||
Reference in New Issue
Block a user