re-ordered fields on site add/edit. marked name as required with asterisk
This commit is contained in:
parent
45d0f43e90
commit
0914776152
|
@ -11,7 +11,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="name">Name</label>
|
<label for="name">Name</label> <span>*</span>
|
||||||
<input type="text" id="name" name="Name" ng-model="folder.name" class="form-control" required api-field />
|
<input type="text" id="name" name="Name" ng-model="folder.name" class="form-control" required api-field />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,6 +10,22 @@
|
||||||
<li ng-repeat="e in addLoginForm.$errors">{{e}}</li>
|
<li ng-repeat="e in addLoginForm.$errors">{{e}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group" show-errors>
|
||||||
|
<label for="name">Name</label> <span>*</span>
|
||||||
|
<input type="text" id="name" name="Name" ng-model="login.name" class="form-control" required api-field />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group" show-errors>
|
||||||
|
<label for="folder">Folder</label>
|
||||||
|
<select id="folder" name="FolderId" ng-model="login.folderId" class="form-control" api-field>
|
||||||
|
<option ng-repeat="folder in folders | orderBy: folderSort" value="{{folder.id}}">{{folder.name}}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="uri">URI</label>
|
<label for="uri">URI</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
@ -23,22 +39,6 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-6">
|
|
||||||
<div class="form-group" show-errors>
|
|
||||||
<label for="name">Name</label>
|
|
||||||
<input type="text" id="name" name="Name" ng-model="login.name" class="form-control" required api-field />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6">
|
|
||||||
<div class="form-group" show-errors>
|
|
||||||
<label for="folder">Folder</label>
|
|
||||||
<select id="folder" name="FolderId" ng-model="login.folderId" class="form-control" api-field>
|
|
||||||
<option ng-repeat="folder in folders | orderBy: folderSort" value="{{folder.id}}">{{folder.name}}</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="name">Name</label>
|
<label for="name">Name</label> <span>*</span>
|
||||||
<input type="text" id="name" name="Name" ng-model="folder.name" class="form-control" required api-field />
|
<input type="text" id="name" name="Name" ng-model="folder.name" class="form-control" required api-field />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,6 +10,22 @@
|
||||||
<li ng-repeat="e in editLoginForm.$errors">{{e}}</li>
|
<li ng-repeat="e in editLoginForm.$errors">{{e}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group" show-errors>
|
||||||
|
<label for="name">Name</label> <span>*</span>
|
||||||
|
<input type="text" id="name" name="Name" ng-model="login.name" class="form-control" required api-field />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group" show-errors>
|
||||||
|
<label for="folder">Folder</label>
|
||||||
|
<select id="folder" name="FolderId" ng-model="login.folderId" class="form-control" api-field>
|
||||||
|
<option ng-repeat="folder in folders | orderBy: folderSort" value="{{folder.id}}">{{folder.name}}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="uri">URI</label>
|
<label for="uri">URI</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
@ -26,22 +42,6 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-6">
|
|
||||||
<div class="form-group" show-errors>
|
|
||||||
<label for="name">Name</label>
|
|
||||||
<input type="text" id="name" name="Name" ng-model="login.name" class="form-control" required api-field />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6">
|
|
||||||
<div class="form-group" show-errors>
|
|
||||||
<label for="folder">Folder</label>
|
|
||||||
<select id="folder" name="FolderId" ng-model="login.folderId" class="form-control" api-field>
|
|
||||||
<option ng-repeat="folder in folders | orderBy: folderSort" value="{{folder.id}}">{{folder.name}}</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
|
|
Loading…
Reference in New Issue