Bug 35144: Update style of 'Required' label for OPAC patron attributes
authorOwen Leonard <oleonard@myacpl.org>
Tue, 7 Nov 2023 19:06:13 +0000 (19:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 11 Nov 2023 08:01:28 +0000 (22:01 -1000)
commite1dc14bb68d1a27447f6c09979dd75b184ff467a
treea95a3f9736705d3a5a892ee2401bbc52c811516e
parentfa1cabde11d40d2213b0dd1516fc2868021bac57
Bug 35144: Update style of 'Required' label for OPAC patron attributes

This patch makes some changes to style and markup of the part of the
OPAC patron entry form which displays patron attribute entry fields.

To test, apply the patch and rebuild the OPAC CSS.

- Create at least two patron attributes which have both "Display in
  OPAC" and "Editable in OPAC" checked: One which is linked to an
  authorized value, one which isn't. At least one attribute should be
  mandatory. At least one attribute should be repeatable.
- Test the form using either patron self-registration or by logging in
  to the OPAC and clicking the "Personal details" link in the sidebar.
- Check the appearance of required fields in the form, including the
  mandatory patron attributes.
- Confirm that the "Clear" and "New" controls look good and work
  correctly, including fields cloned with the "New" button.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit dd70e43b66fc2a887c5a5d6afc165ebf20469354)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt