Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed for 1.8.7 syntax

  • Loading branch information...
commit be2b4813855b0d1285169dd2cccf212d2021a118 1 parent d169ef3
@Radagaisus Radagaisus authored
View
2  app/views/devise/confirmations/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
- <%= f.email_field :email, {autofocus: true} %></div>
+ <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.submit "Resend confirmation instructions" %></div>
<% end %>
View
2  app/views/devise/passwords/edit.html.erb
@@ -5,7 +5,7 @@
<%= f.hidden_field :reset_password_token %>
<div><%= f.label :password, "New password" %><br />
- <%= f.password_field :password, {autofocus: true} %></div>
+ <%= f.password_field :password, {:autofocus => true} %></div>
<div><%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation %></div>
View
2  app/views/devise/passwords/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
- <%= f.email_field :email, {autofocus: true} %></div>
+ <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.submit "Send me reset password instructions" %></div>
<% end %>
View
2  app/views/devise/registrations/edit.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
- <%= f.email_field :email, {autofocus: true} %></div>
+ <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
<%= f.password_field :password, :autocomplete => "off" %></div>
View
2  app/views/devise/registrations/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
- <%= f.email_field :email, {autofocus: true} %></div>
+ <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password %></div>
View
2  app/views/devise/sessions/new.html.erb
@@ -2,7 +2,7 @@
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :email %><br />
- <%= f.email_field :email, {autofocus: true} %></div>
+ <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password %></div>
View
2  app/views/devise/unlocks/new.html.erb
@@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
- <%= f.email_field :email, {autofocus: true} %></div>
+ <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.submit "Resend unlock instructions" %></div>
<% end %>
Please sign in to comment.
Something went wrong with that request. Please try again.