]> git.koha-community.org Git - koha.git/commit
Bug 35619: Fix validation error alignment in change password form
authorOwen Leonard <oleonard@myacpl.org>
Wed, 20 Dec 2023 16:50:40 +0000 (16:50 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 4 Jan 2024 21:02:46 +0000 (21:02 +0000)
commit5efb2416c3e16caafaffa8ae08b2bf62ce52d383
tree6d68cc1549ce6a0ad208f523cf8c48f44804e19e
parent59cdb045dadf1363e60bc8e136de188426c31205
Bug 35619: Fix validation error alignment in change password form

Bug 31829 made a change to the change password form in the staff
interface to accommodate a gap in the CSS following the staff interface
redesign. This gap has been fixed, so we don't need a double class on
the fieldset.

With this change, the "hint" div can also be put back into place.

To test, apply the patch and locate a patron record in the staff
interface.

 - Click the "Change password" button on the patron detail page.
 - Confirm that the form layout looks correct.
 - Enter mismatched passwords in the "New password" and "Confirm new
   password" fields and click "Save"
   - The validation error message should be aligned to the right of the
     input field.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 46b0b41e09a6ad29b5fce8b56e08dd3922cf394b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 7378b18f78a671bfb1cc1a4cc00775e8fe0501e9)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt