webstaff: add template for patron merge dialog
[Evergreen.git] / Open-ILS / src / templates / staff / circ / share / t_merge_patrons.tt2
1 <div>
2   <div class="modal-header">
3     <button type="button" class="close"
4       ng-click="cancel()" aria-hidden="true">&times;</button>
5     <h4 class="modal-title">[% l('Merge patrons?') %]</h4>
6   </div>
7   <div class="modal-body">
8       <div class="row">
9           
10           <div class="col-xs-6">
11             <label>
12               <input type="radio" name="lead_record" ng-model="lead_id" ng-value="patron_ids[0]"/></input>
13               [% l('Use as lead') %]
14             </label>
15             <eg-patron-summary patron-id="patron_ids[0]"></eg-patron-summary>
16           </div>
17           <div class="col-xs-6">
18             <label>
19               <input type="radio" name="lead_record" ng-model="lead_id" ng-value="patron_ids[1]"/></input>
20               [% l('Use as lead') %]
21             </label>
22             <eg-patron-summary patron-id="patron_ids[1]"></eg-patron-summary>
23           </div>
24       </div>
25   </div>
26   <div class="modal-footer">
27     <input type="submit" ng-click="ok()"
28         ng-class="{disabled : !lead_id }"
29         class="btn btn-primary" value="[% l('Merge') %]"/>
30     <button class="btn btn-warning" ng-click="cancel()">[% l('Cancel') %]</button>
31   </div>
32 </div>