]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 3 Jan 2024 15:35:47 +0000 (16:35 +0100)
commit7378b18f78a671bfb1cc1a4cc00775e8fe0501e9
treeb08018d1d63e4d3fc3958b0f7be8df1c67c78c77
parentd721ed439d5113d04048e9f5c1fb15d85db7baa7
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt