LP#1832897: add miscellaneous carousels functionality to staff interface
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / bucket / record / t_create_carousel.tt2
1 <!-- create carousel dialog -->
2
3 <!-- use <form> so we get submit-on-enter for free -->
4 <form class="form-validated" novalidate name="form" ng-submit="ok(args)">
5   <div>
6     <div class="modal-header">
7       <button type="button" class="close" 
8         ng-click="cancel()" aria-hidden="true">&times;</button>
9       <h4 class="modal-title">[% l('Create Carousel From Bucket') %]</h4>
10     </div>
11     <div class="modal-body">
12       <div class="form-group">
13         <label for="create-carousel-name">[% l('Name') %]</label>
14         <input type="text" class="form-control" focus-me='focusMe' required
15           id="create-carousel-name" ng-model="args.name" placeholder="[% l('Carousel Name..') %]"/>
16       </div>
17     </div>
18     <div class="modal-footer">
19       <input type="submit" ng-disabled="form.$invalid" 
20           class="btn btn-primary" value="[% l('Create Carousel') %]"/>
21       <button class="btn btn-warning" ng-click="cancel()">[% l('Cancel') %]</button>
22     </div>
23   </div> <!-- modal-content -->
24 </form>