LP#1676608: copy alert and suppression matrix
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / t_add_copy_alert_dialog.tt2
1 <form ng-submit="ok(copy_alert)" role="form">
2     <div class="modal-header">
3       <button type="button" class="close" ng-click="cancel()" 
4         aria-hidden="true">&times;</button>
5       <h4 class="modal-title">[% l('Add Copy Alert') %]</h4>
6     </div>
7     <div class="modal-body">
8       <div class="row">
9         <div class="col-md-6 form-inline">
10           <label for="copy-alert-type-selector"> [% l('Type') %]</label>
11           <select id="copy-alert-type-selector" class="form-control"
12             ng-model="copy_alert.alert_type"
13             ng-options="at.id() as at.name() for at in alert_types">
14           </select>
15         </div>
16         <div class="col-md-3">
17           <label>
18             <input type="checkbox" ng-model="copy_alert.temp"/>
19             [% l('Temporary') %]
20           </label>
21         </div>
22       </div>
23       <div class="row pad-vert">
24         <div class="col-md-12">
25           <textarea class="form-control" 
26             ng-model="copy_alert.note" placeholder="[% l('Alert...') %]">
27           </textarea>
28         </div>
29       </div>
30     </div>
31     <div class="modal-footer">
32       <div class="row">
33         <div class="col-md-10 pull-right">
34           <input type="submit" class="btn btn-primary" value="[% l('OK') %]"/>
35           <button class="btn btn-warning" ng-click="cancel($event)">[% l('Cancel') %]</button>
36         </div>
37       </div>
38
39     </div>
40 </form>