diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-09-30 22:39:59 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-09-30 22:39:59 +0300 |
commit | 5c80ceee0d3545061f1ca85ad8c25d0583e1e4d2 (patch) | |
tree | 4c857550554ce85730955c1c940442bc1be90b7b /app/views/devise | |
parent | 292bca0546c59b9816c696371cd9bbf04ba19fb2 (diff) |
Autofocus the email field on the password reset form
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/passwords/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/passwords/new.html.haml b/app/views/devise/passwords/new.html.haml index 29ffe8a8be3..535e85869e5 100644 --- a/app/views/devise/passwords/new.html.haml +++ b/app/views/devise/passwords/new.html.haml @@ -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" |