diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index f62a2859..9c27eb72 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, {:autofocus => true} %>
+ <%= 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 59d70eca..34a49604 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, {:autofocus => true} %>
+ <%= 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 7d67139e..5a400df1 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, {:autofocus => true} %>
+ <%= 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 97671855..1f6bbf6b 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, {:autofocus => true} %>
+ <%= 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 d1c16abb..3f189d46 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, {:autofocus => true} %>
+ <%= 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 49f22863..f9bc2c16 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, {:autofocus => true} %>
+ <%= 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 050b4e62..020787f8 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, {:autofocus => true} %>
+ <%= f.email_field :email, :autofocus => true %>
<%= f.submit "Resend unlock instructions" %>
<% end %>