]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/cat/bucket/record/t_bucket_edit.tt2
288c577c9589138ef590421fc9988586c1586a25
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / bucket / record / t_bucket_edit.tt2
1 <!-- edit bucket dialog -->
2 <form class="form-validated" novalidate ng-submit="ok(args)" name="form">
3   <div>
4     <div class="modal-header">
5       <button type="button" class="close" 
6         ng-click="cancel()" aria-hidden="true">&times;</button>
7       <h4 class="modal-title">[% l('Edit Bucket') %]</h4>
8     </div>
9     <div class="modal-body">
10       <div class="form-group">
11         <label for="edit-bucket-name">[% l('Name') %]</label>
12         <input type="text" class="form-control" focus-me='focusMe' required
13           id="edit-bucket-name" ng-model="args.name" placeholder="[% l('Name...') %]"/>
14       </div>
15       <div class="form-group">
16         <label for="edit-bucket-desc">[% l('Description') %]</label>
17         <input type="text" class="form-control" id="edit-bucket-desc"
18           ng-model="args.desc" placeholder="[% l('Description...') %]"/>
19       </div>
20        <div class="checkbox">
21         <label>
22           <input ng-model="args.pub" type="checkbox"> 
23           [% l('Publicly Visible?') %]
24         </label>
25       </div>
26     </div>
27     <div class="modal-footer">
28       <input type="submit" class="btn btn-primary" 
29           ng-disabled="form.$invalid" value="[% l('Apply Changes') %]"/>
30       <button class="btn btn-warning" ng-click="cancel()"
31           ng-class="{disabled : actionPending}">[% l('Cancel') %]</button>
32     </div>
33   </div> <!-- modal-content -->
34 </form>