mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-23 07:57:53 +00:00
Improve form "for" and "autocomplete" attributes (#3822)
GitOrigin-RevId: 2ce35d57526fc36b5a974d0f940ef6ba08806864
This commit is contained in:
parent
d0d28524a2
commit
8227e68aca
2 changed files with 3 additions and 1 deletions
services/web/app/views/user
|
@ -23,11 +23,12 @@ block content
|
|||
form-messages(for="passwordResetForm" role="alert")
|
||||
.form-group
|
||||
label(for='email') #{translate("please_enter_email")}
|
||||
input.form-control(
|
||||
input.form-control#email(
|
||||
type='email',
|
||||
name='email',
|
||||
placeholder='email@example.com',
|
||||
required,
|
||||
autocomplete="username",
|
||||
ng-model="email",
|
||||
autofocus
|
||||
)
|
||||
|
|
|
@ -42,6 +42,7 @@ block content
|
|||
name='password',
|
||||
placeholder='new password',
|
||||
required,
|
||||
autocomplete="new-password",
|
||||
ng-model="password",
|
||||
autofocus,
|
||||
complex-password
|
||||
|
|
Loading…
Add table
Reference in a new issue