Autofocus the email field on the password reset form
This commit is contained in:
parent
292bca0546
commit
5c80ceee0d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
.devise-errors
|
||||
= devise_error_messages!
|
||||
.clearfix.append-bottom-20
|
||||
= f.email_field :email, placeholder: "Email", class: "form-control", required: true, value: params[:user_email]
|
||||
= f.email_field :email, placeholder: "Email", class: "form-control", required: true, value: params[:user_email], autofocus: true
|
||||
.clearfix
|
||||
= f.submit "Reset password", class: "btn-primary btn"
|
||||
|
||||
|
|
Loading…
Reference in a new issue