Merge pull request #5487 from betagouv/remove-autofocus-login

Sign-in page: autofocus on 'input: password' removed
This commit is contained in:
jpoulvel 2020-08-19 16:44:26 +02:00 committed by GitHub
commit 0a5a5ef317
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,6 @@
= f.email_field :email, value: @email, disabled: true = f.email_field :email, value: @email, disabled: true
= f.label :password, "Mot de passe" = f.label :password, "Mot de passe"
= f.password_field :password, autofocus: true, required: true, placeholder: "#{PASSWORD_MIN_LENGTH} caractères minimum" = f.password_field :password, required: true, placeholder: "#{PASSWORD_MIN_LENGTH} caractères minimum"
= f.submit "Créer un compte", class: "button large primary expand" = f.submit "Créer un compte", class: "button large primary expand"