diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb
index 81e4472d..7fc0e96b 100644
--- a/app/views/devise/confirmations/new.html.erb
+++ b/app/views/devise/confirmations/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<%= f.label :email %>
- <%= f.email_field :email %>
+ <%= f.email_field :email , {autofocus: true} %>
<%= f.submit "Resend confirmation instructions" %>
<% end %>
diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb
index fe620ef4..b899998c 100644
--- a/app/views/devise/passwords/edit.html.erb
+++ b/app/views/devise/passwords/edit.html.erb
@@ -5,7 +5,7 @@
<%= f.hidden_field :reset_password_token %>
<%= f.label :password, "New password" %>
- <%= f.password_field :password %>
+ <%= f.password_field :password, {autofocus: true} %>
<%= f.label :password_confirmation, "Confirm new password" %>
<%= f.password_field :password_confirmation %>
diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb
index 23501646..ece097f2 100644
--- a/app/views/devise/passwords/new.html.erb
+++ b/app/views/devise/passwords/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<%= f.label :email %>
- <%= f.email_field :email %>
+ <%= f.email_field :email, {autofocus: true} %>
<%= f.submit "Send me reset password instructions" %>
<% end %>
diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb
index ebca9ed3..25fdec3d 100644
--- a/app/views/devise/registrations/edit.html.erb
+++ b/app/views/devise/registrations/edit.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<%= f.label :email %>
- <%= f.email_field :email %>
+ <%= f.email_field :email, {autofocus: true} %>
<%= f.label :password %> (leave blank if you don't want to change it)
<%= f.password_field :password, :autocomplete => "off" %>
diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb
index 9703db37..bd48b73f 100644
--- a/app/views/devise/registrations/new.html.erb
+++ b/app/views/devise/registrations/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<%= f.label :email %>
- <%= f.email_field :email %>
+ <%= f.email_field :email, {autofocus: true} %>
<%= f.label :password %>
<%= f.password_field :password %>
diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb
index 7966ab99..c3057235 100644
--- a/app/views/devise/sessions/new.html.erb
+++ b/app/views/devise/sessions/new.html.erb
@@ -2,7 +2,7 @@
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<%= f.label :email %>
- <%= f.email_field :email %>
+ <%= f.email_field :email, {autofocus: true} %>
<%= f.label :password %>
<%= f.password_field :password %>
diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb
index e55e82ee..4b24eae9 100644
--- a/app/views/devise/unlocks/new.html.erb
+++ b/app/views/devise/unlocks/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<%= f.label :email %>
- <%= f.email_field :email %>
+ <%= f.email_field :email, {autofocus: true} %>
<%= f.submit "Resend unlock instructions" %>
<% end %>