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">×</button>
5 <h4 class="modal-title">[% l('Add Copy Alert') %]</h4>
7 <div class="modal-body">
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 | orderBy:'name()'">
16 <div class="col-md-3">
18 <input type="checkbox" ng-model="copy_alert.temp"/>
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...') %]">
31 <div class="modal-footer">
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>