LP #1717996 (follow-up) Change label for shareable user buckets
[Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / bucket / 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('Shareable') %]
24         </label>
25         <eg-help-popover help-text="[%l('Visible and searchable by any staff member')%]">
26       </div>
27     </div>
28     <div class="modal-footer">
29       <input type="submit" class="btn btn-primary" 
30           ng-disabled="form.$invalid" value="[% l('Apply Changes') %]"/>
31       <button class="btn btn-warning" ng-click="cancel()"
32           ng-class="{disabled : actionPending}">[% l('Cancel') %]</button>
33     </div>
34   </div> <!-- modal-content -->
35 </form>