|
Lines 1125-1131
Link Here
|
| 1125 |
[% END %] |
1125 |
[% END %] |
| 1126 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1126 |
[% FOREACH patron_attribute IN pa_loo.items %] |
| 1127 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
1127 |
<li data-category_code="[% patron_attribute.category_code | html %]"> |
| 1128 |
<label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label> |
1128 |
[% IF patron_attribute.mandatory %] |
|
|
1129 |
<label for="[% patron_attribute.form_id | html %]" class="required" required="required">[% patron_attribute.description | html %]: </label> |
| 1130 |
[% ELSE %] |
| 1131 |
<label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label> |
| 1132 |
[% END %] |
| 1129 |
[% IF ( patron_attribute.use_dropdown ) %] |
1133 |
[% IF ( patron_attribute.use_dropdown ) %] |
| 1130 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
1134 |
<select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"> |
| 1131 |
<option value=""></option> |
1135 |
<option value=""></option> |
|
Lines 1149-1154
Link Here
|
| 1149 |
[% IF ( patron_attribute.repeatable ) %] |
1153 |
[% IF ( patron_attribute.repeatable ) %] |
| 1150 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1154 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
| 1151 |
[% END %] |
1155 |
[% END %] |
|
|
1156 |
[% IF patron_attribute.mandatory %]<span class="required">Required</span>[% END %] |
| 1152 |
</li> |
1157 |
</li> |
| 1153 |
[% END %] |
1158 |
[% END %] |
| 1154 |
[% IF pa_loo.class %]</fieldset>[% END %] |
1159 |
[% IF pa_loo.class %]</fieldset>[% END %] |