To test:
1) Go to Tools -> Batch patron modification
2) Put in a user cardnumber and click Continue
3) Notice checkboxes on the left of the input fields
4) Apply patch and refresh page (resend information if prompted)
5) Notice checkboxes on the right of the input fields
6) Confirm they still work as expected
Sponsored-by: Catalyst IT
NOTE: Why not left before the label? And while functional,
is there a pretty align it nicely with all the other
checkboxes CSS styling somehow?
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
OPAC note:
[% END %]
</label>
- [% IF field.mandatory %]
- <input type="checkbox" title="This field is mandatory" name="disable_input" value="[% field.name %]" disabled="disabled" readonly="readonly" />
- [% ELSE %]
- <input type="checkbox" title="Check to delete this field" name="disable_input" value="[% field.name %]" />
- [% END %]
[% IF ( field.type == 'text' ) %]
<input type="text" name="[% field.name %]" value="" />
[% END %]
<a href="#" class="clear-date" id="clear-date-[% field.name %]" ><i class="fa fa-fw fa-trash"></i> Clear</a>
[% END %]
[% IF field.mandatory %]
+ <input type="checkbox" title="This field is mandatory" name="disable_input" value="[% field.name %]" disabled="disabled" readonly="readonly" />
<span class="required">Required fields cannot be cleared</span>
+ [% ELSE %]
+ <input type="checkbox" title="Check to delete this field" name="disable_input" value="[% field.name %]" />
[% END %]
</li>
[% END %]