|
Lines 1107-1113
$(document).ready(function() {
Link Here
|
| 1107 |
[% FOREACH patron_attribute IN pa_loo.items %] |
1107 |
[% FOREACH patron_attribute IN pa_loo.items %] |
| 1108 |
<li data-category_code="[% patron_attribute.category_code %]"> |
1108 |
<li data-category_code="[% patron_attribute.category_code %]"> |
| 1109 |
<label for="[% patron_attribute.form_id %]">[% patron_attribute.description %]: </label> |
1109 |
<label for="[% patron_attribute.form_id %]">[% patron_attribute.description %]: </label> |
| 1110 |
<input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" /> |
|
|
| 1111 |
[% IF ( patron_attribute.use_dropdown ) %] |
1110 |
[% IF ( patron_attribute.use_dropdown ) %] |
| 1112 |
<select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]"> |
1111 |
<select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]"> |
| 1113 |
<option value=""></option> |
1112 |
<option value=""></option> |
|
Lines 1126-1131
$(document).ready(function() {
Link Here
|
| 1126 |
[% ELSE %] |
1125 |
[% ELSE %] |
| 1127 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea> |
1126 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea> |
| 1128 |
[% END %] |
1127 |
[% END %] |
|
|
1128 |
<input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" /> |
| 1129 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1129 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
| 1130 |
[% IF ( patron_attribute.repeatable ) %] |
1130 |
[% IF ( patron_attribute.repeatable ) %] |
| 1131 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1131 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
| 1132 |
- |
|
|