1 <!-- edit bucket dialog -->
2 <form class="form-validated" novalidate ng-submit="ok(args)" name="form">
4 <div class="modal-header">
5 <button type="button" class="close"
6 ng-click="cancel()" aria-hidden="true">×</button>
7 <h4 class="modal-title">[% l('Edit Bucket') %]</h4>
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...') %]"/>
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...') %]"/>
20 <div class="checkbox">
22 <input ng-model="args.pub" type="checkbox">
25 <eg-help-popover help-text="[%l('Visible and searchable by any staff member')%]">
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>
34 </div> <!-- modal-content -->