Bug 31387: Fix othernames required label
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Aug 2022 17:09:44 +0000 (17:09 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 22 Aug 2022 16:42:39 +0000 (13:42 -0300)
commit37002a81c37e759bf80e663d3e75ce7c0700feef
treec67d3a14ca0f3d78cf5a5034c879c66aae8c7a69
parent5155e43b04a4283bb13eedd39cdcb9e12693630d
Bug 31387: Fix othernames required label

1. Mark othernames as required via PatronSelfRegistrationBorrowerMandatoryField
2. Go to the self-reg form, the field is required but the span that makes it look required stays hidden. (<div class="required_label required">Required</div>)
3. Mark initials as required via PatronSelfRegistrationBorrowerMandatoryField.
4. Now the label_required field appears for othernames in the self ref form
5. Apply patch
6. Try again, the label should now properly show when othernames is marked as required

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt