]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2
LP#1452950 patron reg initial save operation
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / reg_actions.tt2
1 <!-- actions bar shared by both variations of the patron edit UI -->
2
3 <div>
4   <span>
5     [% l('Show:') %]
6     <span class="pad-all-min">
7       <a href 
8         ng-class="{disabled : edit_passthru.vis_level == 2}"
9         ng-click="edit_passthru.vis_level=2">[% l('Required Fields') %]</a>
10     </span>
11     <span class="pad-all-min">
12       <a href 
13         ng-class="{disabled : edit_passthru.vis_level == 1}"
14         ng-click="edit_passthru.vis_level=1">[% l('Suggested Fields') %]</a>
15     </span>
16     <span class="pad-all-min">
17       <a href 
18         ng-class="{disabled : edit_passthru.vis_level == 0}"
19         ng-click="edit_passthru.vis_level=0">[% l('All Fields') %]</a>
20     </span>
21   </span>
22 </div>
23 <div class="flex-cell"></div>
24 <div>
25   <span class="pad-all-min">
26     <button type="button" class="btn btn-default" 
27       ng-click="edit_passthru.save()">[% l('Save') %]</button>
28   </span>
29   <span class="pad-all-min">
30     <button type="button" class="btn btn-default">[% l('Save & Clone') %]</button>
31   </span>
32 </div>
33