Lines 1359-1369
legend:hover {
Link Here
|
1359 |
[% END %] |
1359 |
[% END %] |
1360 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1360 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1361 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
1361 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
1362 |
<label for="[% patron_attribute.form_id | html %]"> |
1362 |
[% IF patron_attribute.mandatory %] |
1363 |
[% patron_attribute.description | html %]: |
1363 |
<label for="[% patron_attribute.form_id | html %]" class="required" required="required">[% patron_attribute.description | html %]: </label> |
1364 |
</label> |
1364 |
[% ELSE %] |
|
|
1365 |
<label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label> |
1366 |
[% END %] |
1365 |
[% IF ( patron_attribute.use_dropdown ) %] |
1367 |
[% IF ( patron_attribute.use_dropdown ) %] |
1366 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1368 |
[% IF patron_attribute.mandatory %] |
|
|
1369 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required"> |
1370 |
[% ELSE %] |
1371 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1372 |
[% END %] |
1367 |
<option value=""></option> |
1373 |
<option value=""></option> |
1368 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
1374 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
1369 |
[% IF auth_val_loo.authorised_value == patron_attribute.value %] |
1375 |
[% IF auth_val_loo.authorised_value == patron_attribute.value %] |
Lines 1378-1390
legend:hover {
Link Here
|
1378 |
[% END %] |
1384 |
[% END %] |
1379 |
</select> |
1385 |
</select> |
1380 |
[% ELSE %] |
1386 |
[% ELSE %] |
|
|
1387 |
[% IF patron_attribute.mandatory %] |
1388 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea> |
1389 |
[% ELSE %] |
1381 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
1390 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
|
|
1391 |
[% END %] |
1382 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1392 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1383 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1393 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1384 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1394 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1385 |
[% IF ( patron_attribute.repeatable ) %] |
1395 |
[% IF ( patron_attribute.repeatable ) %] |
1386 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1396 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1387 |
[% END %] |
1397 |
[% END %] |
|
|
1398 |
[% IF patron_attribute.mandatory %]<span class="required">Required</span>[% END %] |
1388 |
</li> |
1399 |
</li> |
1389 |
[% END # /FOREACH patron_attribute %] |
1400 |
[% END # /FOREACH patron_attribute %] |
1390 |
[% IF pa_loo.class %]</fieldset>[% END %] |
1401 |
[% IF pa_loo.class %]</fieldset>[% END %] |