Lines 188-200
Link Here
|
188 |
[% IF ( branchcode_required ) %] |
188 |
[% IF ( branchcode_required ) %] |
189 |
<label for="branch" class="required">Library:</label> |
189 |
<label for="branch" class="required">Library:</label> |
190 |
<select name="branchcode" id="branch" required="required"> |
190 |
<select name="branchcode" id="branch" required="required"> |
191 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %] |
191 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => logged_in_user.branchcode ) %] |
192 |
</select> |
192 |
</select> |
193 |
<div class="required_label required">Required</div> |
193 |
<div class="required_label required">Required</div> |
194 |
[% ELSE %] |
194 |
[% ELSE %] |
195 |
<label for="branch">Library:</label> |
195 |
<label for="branch">Library:</label> |
196 |
<select name="branchcode" id="branch"> |
196 |
<select name="branchcode" id="branch"> |
197 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %] |
197 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => logged_in_user.branchcode ) %] |
198 |
</select> |
198 |
</select> |
199 |
[% END %] |
199 |
[% END %] |
200 |
</li> |
200 |
</li> |
201 |
- |
|
|