Lines 1559-1572
legend:hover {
Link Here
|
1559 |
[% END %] |
1559 |
[% END %] |
1560 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1560 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1561 |
<li data-category_code="[% patron_attribute.category_code | html %]" data-pa_code="[% patron_attribute.code | replace('[^a-zA-Z0-9_-]', '') %]"> |
1561 |
<li data-category_code="[% patron_attribute.category_code | html %]" data-pa_code="[% patron_attribute.code | replace('[^a-zA-Z0-9_-]', '') %]"> |
1562 |
[% IF patron_attribute.mandatory %] |
1562 |
[% IF patron_attribute.mandatory && patron_attribute.category_code == patron_category.categorycode%] |
1563 |
<label for="[% patron_attribute.form_id | html %]" class="required" required="required">[% patron_attribute.description | html %]: </label> |
1563 |
<label for="[% patron_attribute.form_id | html %]" class="required" required="required">[% patron_attribute.description | html %]: </label> |
|
|
1564 |
[% ELSIF patron_attribute.mandatory && patron_attribute.category_code != patron_category.categorycode %] |
1565 |
<label for="[% patron_attribute.form_id | html %]" class="required ignore_validation" required="required">[% patron_attribute.description | html %]: </label> |
1564 |
[% ELSE %] |
1566 |
[% ELSE %] |
1565 |
<label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label> |
1567 |
<label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label> |
1566 |
[% END %] |
1568 |
[% END %] |
1567 |
[% IF ( patron_attribute.use_dropdown ) %] |
1569 |
[% IF ( patron_attribute.use_dropdown ) %] |
1568 |
[% IF patron_attribute.mandatory %] |
1570 |
[% IF patron_attribute.mandatory && patron_attribute.category_code == patron_category.categorycode %] |
1569 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required"> |
1571 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required"> |
|
|
1572 |
[% ELSIF patron_attribute.mandatory && patron_attribute.category_code != patron_category.categorycode %] |
1573 |
<select id="[% patron_attribute.form_id | html %]" class="ignore_validation" name="[% patron_attribute.form_id | html %]" required="required"> |
1570 |
[% ELSE %] |
1574 |
[% ELSE %] |
1571 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1575 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1572 |
[% END %] |
1576 |
[% END %] |