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
|
%h1 Créez-vous un compte demarches-simplifiees.fr
|
||||||
|
|
||||||
= f.label :email, "Email (nom@site.com)", id: :user_email_label
|
= 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
|
.suspect-email.hidden
|
||||||
.email-suggestion-title
|
.email-suggestion-title
|
||||||
|
|
Loading…
Reference in a new issue