1 <form class="form-validated" novalidate ng-submit="ok()" name="form">
3 <div class="modal-content">
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('Open Circulation') %]</h4>
9 <div class="modal-body">
10 <div ng-if="sameUser">
11 [% |l("{{circDate | date:'shortDate'}}") %]
12 There is an open circulation on the requested item.
13 This item was already checked out to this user on [_1].
16 <div ng-if="!sameUser">
17 [% |l("{{circDate | date:'shortDate'}}") %]
18 There is an open circulation on the requested item.
19 This copy was checked out by another patron on [_1].
23 <div class="modal-footer">
24 <div class="form-group row">
25 <div class="col-md-3">
26 <label for="forgive-checkbox">[% l('Forgive fines?') %]</label>
28 <div class="col-md-1">
29 <input type="checkbox" class="checkbox"
30 id="forgive-checkbox" ng-model="args.forgive_fines"/>
32 <div class="col-md-8">
33 <input ng-if="!sameUser" type="submit" class="btn btn-primary"
34 value="[% l('Normal Checkin then Checkout') %]"/>
35 <input ng-if="sameUser" type="submit" class="btn btn-primary"
36 value="[% l('Renew') %]"/>
37 <button class="btn btn-warning"
38 ng-click="cancel($event)">[% l('Cancel') %]</button>
41 </div> <!-- modal-content -->
42 </div> <!-- modal-dialog -->