Lines 1343-1353
legend:hover {
Link Here
|
1343 |
[% END %] |
1343 |
[% END %] |
1344 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1344 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1345 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
1345 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
1346 |
<label for="[% patron_attribute.form_id | html %]"> |
1346 |
[% IF patron_attribute.mandatory %] |
1347 |
[% patron_attribute.description | html %]: |
1347 |
<label for="[% patron_attribute.form_id | html %]" class="required" required="required">[% patron_attribute.description | html %]: </label> |
1348 |
</label> |
1348 |
[% ELSE %] |
|
|
1349 |
<label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label> |
1350 |
[% END %] |
1349 |
[% IF ( patron_attribute.use_dropdown ) %] |
1351 |
[% IF ( patron_attribute.use_dropdown ) %] |
1350 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1352 |
[% IF patron_attribute.mandatory %] |
|
|
1353 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required"> |
1354 |
[% ELSE %] |
1355 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1356 |
[% END %] |
1351 |
<option value=""></option> |
1357 |
<option value=""></option> |
1352 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
1358 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
1353 |
[% IF auth_val_loo.authorised_value == patron_attribute.value %] |
1359 |
[% IF auth_val_loo.authorised_value == patron_attribute.value %] |
Lines 1362-1374
legend:hover {
Link Here
|
1362 |
[% END %] |
1368 |
[% END %] |
1363 |
</select> |
1369 |
</select> |
1364 |
[% ELSE %] |
1370 |
[% ELSE %] |
|
|
1371 |
[% IF patron_attribute.mandatory %] |
1372 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea> |
1373 |
[% ELSE %] |
1365 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
1374 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
|
|
1375 |
[% END %] |
1366 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1376 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1367 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1377 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1368 |
<a href="#" class="clear_attribute"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1378 |
<a href="#" class="clear_attribute"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1369 |
[% IF ( patron_attribute.repeatable ) %] |
1379 |
[% IF ( patron_attribute.repeatable ) %] |
1370 |
<a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a> |
1380 |
<a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a> |
1371 |
[% END %] |
1381 |
[% END %] |
|
|
1382 |
[% IF patron_attribute.mandatory %]<span class="required">Required</span>[% END %] |
1372 |
</li> |
1383 |
</li> |
1373 |
[% END # /FOREACH patron_attribute %] |
1384 |
[% END # /FOREACH patron_attribute %] |
1374 |
[% IF pa_loo.class %]</fieldset>[% END %] |
1385 |
[% IF pa_loo.class %]</fieldset>[% END %] |