1 <!-- edit bucket dialog -->
4 <div class="modal-content">
5 <div class="modal-header">
6 <button type="button" class="close"
7 ng-click="cancel()" aria-hidden="true">×</button>
8 <h4 class="modal-title">
9 [% l('Barcode "{{precatArgs.copy_barcode}}" was mis-scanned or is a non-cataloged item.') %]
11 <div ng-show="!can_create_precats" class="alert alert-warning">
12 [% l('You do not have permission to create a pre-cataloged item with this barcode.') %]
15 <div class="modal-body">
16 <div class="form-group">
17 <label for="precat-title">[% l('Title') %]</label>
18 <input type="text" class="form-control" focus-me='focusMe' required
19 ng-disabled="!can_create_precats"
20 id="precat-title" ng-model="precatArgs.dummy_title" placeholder="[% l('Title...') %]"/>
22 <div class="form-group">
23 <label for="precat-author">[% l('Author') %]</label>
24 <input type="text" class="form-control" id="precat-author"
25 ng-disabled="!can_create_precats"
26 ng-model="precatArgs.dummy_author" placeholder="[% l('Author...') %]"/>
28 <div class="form-group">
29 <label for="precat-isbn">[% l('ISBN') %]</label>
30 <input type="text" class="form-control" id="precat-isbn"
31 ng-disabled="!can_create_precats"
32 ng-model="precatArgs.dummy_isbn" placeholder="[% l('ISBN...') %]"/>
34 <div class="form-group">
35 <label for="precat-circmod">[% l('Circulation Modifier') %]</label>
36 <select class="form-control" id="precat-circmod"
37 ng-disabled="!can_create_precats"
38 ng-model="precatArgs.circ_modifier">
39 <option value=""></option>
40 <option ng-repeat="mod in circModifiers | orderBy:'name()'"
41 value="{{mod.code()}}">{{mod.name()}}</option>
45 <div class="modal-footer">
46 <button type="button" class="btn btn-primary" ng-click="ok(precatArgs)"
47 ng-disabled="!can_create_precats">[% l('Precat Checkout') %]</button>
48 <button type="button" class="btn btn-warning" ng-click="cancel()"
49 ng-class="{disabled : actionPending}">[% l('Cancel') %]</button>
51 </div> <!-- modal-content -->
52 </div> <!-- modal-dialog -->