|
Lines 1332-1342
legend:hover {
Link Here
|
| 1332 |
[% END %] |
1332 |
[% END %] |
| 1333 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1333 |
[% FOREACH patron_attribute IN pa_loo.items %] |
| 1334 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
1334 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
| 1335 |
<label for="[% patron_attribute.form_id | html %]"> |
1335 |
[% IF patron_attribute.mandatory %] |
| 1336 |
[% patron_attribute.description | html %]: |
1336 |
<label for="[% patron_attribute.form_id | html %]" class="required" required="required">[% patron_attribute.description | html %]: </label> |
| 1337 |
</label> |
1337 |
[% ELSE %] |
|
|
1338 |
<label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label> |
| 1339 |
[% END %] |
| 1338 |
[% IF ( patron_attribute.use_dropdown ) %] |
1340 |
[% IF ( patron_attribute.use_dropdown ) %] |
| 1339 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1341 |
[% IF patron_attribute.mandatory %] |
|
|
1342 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required"> |
| 1343 |
[% ELSE %] |
| 1344 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
| 1345 |
[% END %] |
| 1340 |
<option value=""></option> |
1346 |
<option value=""></option> |
| 1341 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
1347 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
| 1342 |
[% IF auth_val_loo.authorised_value == patron_attribute.value %] |
1348 |
[% IF auth_val_loo.authorised_value == patron_attribute.value %] |
|
Lines 1351-1363
legend:hover {
Link Here
|
| 1351 |
[% END %] |
1357 |
[% END %] |
| 1352 |
</select> |
1358 |
</select> |
| 1353 |
[% ELSE %] |
1359 |
[% ELSE %] |
|
|
1360 |
[% IF patron_attribute.mandatory %] |
| 1361 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea> |
| 1362 |
[% ELSE %] |
| 1354 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
1363 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
|
|
1364 |
[% END %] |
| 1355 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1365 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
| 1356 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1366 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
| 1357 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1367 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
| 1358 |
[% IF ( patron_attribute.repeatable ) %] |
1368 |
[% IF ( patron_attribute.repeatable ) %] |
| 1359 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1369 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
| 1360 |
[% END %] |
1370 |
[% END %] |
|
|
1371 |
[% IF patron_attribute.mandatory %]<span class="required">Required</span>[% END %] |
| 1361 |
</li> |
1372 |
</li> |
| 1362 |
[% END # /FOREACH patron_attribute %] |
1373 |
[% END # /FOREACH patron_attribute %] |
| 1363 |
[% IF pa_loo.class %]</fieldset>[% END %] |
1374 |
[% IF pa_loo.class %]</fieldset>[% END %] |