Fix errors in the clone form
This commit is contained in:
@@ -251,10 +251,10 @@
|
||||
</div>
|
||||
<br/>
|
||||
<fieldset>
|
||||
<form role="form" name="appCloneForm" ng-submit="appRestore.clone()" autocomplete="off">
|
||||
<div class="has-error text-center" ng-show="appRestore.error.other" ng-bind-html="appRestore.error.other"></div>
|
||||
<div class="form-group" ng-class="{ 'has-error': (appCloneForm.location.$dirty && appCloneForm.location.$invalid) || (!appCloneForm.location.$dirty && appRestore.error.location) }">
|
||||
<label class="control-label" for="appRestoreLocationInput">Location {{ appRestore.error.location }} </label>
|
||||
<form role="form" ng-submit="appRestore.clone()" autocomplete="off">
|
||||
<div class="form-group" ng-class="{ 'has-error': appRestore.error.location }">
|
||||
<label class="control-label" for="appRestoreLocationInput">Location</label>
|
||||
<div ng-show="appRestore.error.location"><small>{{ appRestore.error.location }}</small></div>
|
||||
<div class="input-group form-inline">
|
||||
<input type="text" class="form-control" ng-model="appRestore.location" id="appRestoreLocationInput" name="location" placeholder="Leave empty to use bare domain" autofocus>
|
||||
<div class="input-group-btn">
|
||||
|
||||
Reference in New Issue
Block a user