set email autocomplete during registration
username is an invalid autocomplete attribute for input type=email, but email is not
This commit is contained in:
parent
cca84a62ca
commit
53ecd48be2
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
%h1 Créez-vous un compte demarches-simplifiees.fr
|
||||
|
||||
= f.label :email, "Email (nom@site.com)", id: :user_email_label
|
||||
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true, placeholder: "Votre adresse email", 'aria-describedby': :user_email_label
|
||||
= f.text_field :email, type: :email, autocomplete: 'email', autofocus: true, placeholder: "Votre adresse email", 'aria-describedby': :user_email_label
|
||||
|
||||
.suspect-email.hidden
|
||||
.email-suggestion-title
|
||||
|
|
Loading…
Reference in a new issue