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 commit46b0b41e09
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit7378b18f78
) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
59cdb045da
commit
5efb2416c3
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@
|
|||
[% END %]
|
||||
|
||||
|
||||
<fieldset class="brief rows"><legend><h1>Change username and/or password for [% patron.firstname | html %] [% patron.surname | html %]</h1></legend>
|
||||
<fieldset class="rows"><legend><h1>Change username and/or password for [% patron.firstname | html %] [% patron.surname | html %]</h1></legend>
|
||||
<ol>
|
||||
<li><label for="newuserid">New username:</label>
|
||||
<input type="hidden" name="member" value="[% patron.borrowernumber | html %]" /><input type="text" id="newuserid" name="newuserid" size="20" value="[% patron.userid | html %]" /></li>
|
||||
|
@ -93,9 +93,9 @@
|
|||
<li>
|
||||
<label for="newpassword2">Confirm new password:</label>
|
||||
<input name="newpassword2" id="newpassword2" type="password" size="20" autocomplete="new-password" />
|
||||
<div class="hint">Koha cannot display existing passwords. Leave the field blank to leave password unchanged.</div>
|
||||
</li>
|
||||
</ol>
|
||||
<div class="hint">Koha cannot display existing passwords. Leave the field blank to leave password unchanged.</div>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
|
||||
|
|
Loading…
Reference in a new issue