From 5efb2416c3e16caafaffa8ae08b2bf62ce52d383 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Dec 2023 16:50:40 +0000 Subject: [PATCH] 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 Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer (cherry picked from commit 46b0b41e09a6ad29b5fce8b56e08dd3922cf394b) Signed-off-by: Fridolin Somers (cherry picked from commit 7378b18f78a671bfb1cc1a4cc00775e8fe0501e9) Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/modules/members/member-password.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt index d1d68b85c7..83f52fb2ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt @@ -78,7 +78,7 @@ [% END %] -

Change username and/or password for [% patron.firstname | html %] [% patron.surname | html %]

+

Change username and/or password for [% patron.firstname | html %] [% patron.surname | html %]

  1. @@ -93,9 +93,9 @@
  2. +
    Koha cannot display existing passwords. Leave the field blank to leave password unchanged.
-
Koha cannot display existing passwords. Leave the field blank to leave password unchanged.
-- 2.39.5