fix(a11y/html): email input with autocomplete=email
This commit is contained in:
parent
4535810ed4
commit
ba70cae75a
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
= render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }
|
||||
|
||||
= f.label :email, t('views.users.sessions.new.email')
|
||||
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true
|
||||
= f.text_field :email, type: :email, autocomplete: 'email', autofocus: true
|
||||
|
||||
= f.label :password, t('views.users.sessions.new.password', min_length: PASSWORD_MIN_LENGTH)
|
||||
= f.password_field :password, autocomplete: 'current-password'
|
||||
|
|
Loading…
Reference in a new issue