Lines 1657-1669
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
1657 |
</select> |
1657 |
</select> |
1658 |
[% ELSE %] |
1658 |
[% ELSE %] |
1659 |
[% IF patron_attribute.mandatory %] |
1659 |
[% IF patron_attribute.mandatory %] |
1660 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea> |
1660 |
[% IF patron_attribute.is_date %] |
|
|
1661 |
<input type="text" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" maxlength="10" size="10" value="[% patron_attribute.value | html %]" required="required" class="flatpickr" data-date_to="to" /> |
1662 |
[% ELSE %] |
1663 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea> |
1664 |
[% END %] |
1661 |
[% ELSE %] |
1665 |
[% ELSE %] |
1662 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
1666 |
[% IF patron_attribute.is_date %] |
|
|
1667 |
<input type="text" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" maxlength="10" size="10" value="[% patron_attribute.value | html %]" class="flatpickr" data-date_to="to" /> |
1668 |
[% ELSE %] |
1669 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
1670 |
[% END %] |
1663 |
[% END %] |
1671 |
[% END %] |
1664 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1672 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1665 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1673 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1666 |
<a href="#" class="clear_attribute"><i class="fa fa-fw fa-trash-can"></i> Clear</a> |
1674 |
[% IF ( !patron_attribute.is_date ) %] |
|
|
1675 |
<a href="#" class="clear_attribute"><i class="fa fa-fw fa-trash-can"></i> Clear</a> |
1676 |
[% END %] |
1667 |
[% IF ( patron_attribute.repeatable ) %] |
1677 |
[% IF ( patron_attribute.repeatable ) %] |
1668 |
<a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a> |
1678 |
<a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a> |
1669 |
[% END %] |
1679 |
[% END %] |