]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/share/t_noncat_dialog.tt2
LP#1350042 Browser client templates/scripts (phase 1)
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / share / t_noncat_dialog.tt2
1 <!-- edit bucket dialog -->
2 <form ng-submit="ok(count)" role="form">
3   <div class="modal-header">
4     <button type="button" class="close" 
5       ng-click="cancel()" aria-hidden="true">&times;</button>
6     <h4 class="modal-title">
7       [% l('Enter the number of {{type.name()}} circulating') %]
8     </h4>
9   </div>
10   <div class="modal-body">
11     <div class="form-group">
12       <label for="noncat-count" class="sr-only">[% l('Count') %]</label>
13       <input type="number" class="form-control" focus-me='focusMe' 
14         required id="noncat-title" ng-model="count" 
15         min="1" max="{{noncatMax}}"
16         placeholder="[% l('Count...') %]"/>
17     </div>
18   </div>
19   <div class="modal-footer">
20     <input type="submit" class="btn btn-primary" 
21         ng-disabled="form.$invalid" value="[% l('OK') %]"/>
22     <button class="btn btn-warning" 
23       ng-click="cancel($event)">[% l('Cancel') %]</button>
24   </div>
25 </form>