Skip to content

Commit 5964dd2

Browse files
Yannick Armandtblivet
authored andcommitted
Forgotten password: add label for email input
1 parent fa6496e commit 5964dd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/customer/password-email.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828

2929
<section class="form-fields">
3030
<div class="mb-3">
31-
<label class="form-label required">{l s='Email address' d='Shop.Forms.Labels'}</label>
32-
<input type="email" name="email" id="email" value="{if isset($smarty.post.email)}{stripslashes($smarty.post.email)}{/if}" class="form-control" autocomplete="email" required>
31+
<label for="email" class="form-label required">{l s='Email address' d='Shop.Forms.Labels'}</label>
32+
<input type="email" name="email" id="email" value="{if isset($smarty.post.email)}{stripslashes($smarty.post.email)}{/if}" class="form-control" autocomplete="username" required>
3333
</div>
34-
34+
3535
<div class="buttons-wrapper">
3636
<button id="send-reset-link" class="btn btn-primary" name="submit" type="submit" data-ps-action="form-validation-submit">
3737
{l s='Send reset link' d='Shop.Theme.Actions'}

0 commit comments

Comments
 (0)