1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

fixed for 1.8.7 syntax

This commit is contained in:
Radagaisus 2012-08-22 02:13:38 +03:00
parent d169ef3641
commit be2b481385
7 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %> <%= devise_error_messages! %>
<div><%= f.label :email %><br /> <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> <div><%= f.submit "Resend confirmation instructions" %></div>
<% end %> <% end %>

View file

@ -5,7 +5,7 @@
<%= f.hidden_field :reset_password_token %> <%= f.hidden_field :reset_password_token %>
<div><%= f.label :password, "New password" %><br /> <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 /> <div><%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation %></div> <%= f.password_field :password_confirmation %></div>

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %> <%= devise_error_messages! %>
<div><%= f.label :email %><br /> <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> <div><%= f.submit "Send me reset password instructions" %></div>
<% end %> <% end %>

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %> <%= devise_error_messages! %>
<div><%= f.label :email %><br /> <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 /> <div><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
<%= f.password_field :password, :autocomplete => "off" %></div> <%= f.password_field :password, :autocomplete => "off" %></div>

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %> <%= devise_error_messages! %>
<div><%= f.label :email %><br /> <div><%= f.label :email %><br />
<%= f.email_field :email, {autofocus: true} %></div> <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.label :password %><br /> <div><%= f.label :password %><br />
<%= f.password_field :password %></div> <%= f.password_field :password %></div>

View file

@ -2,7 +2,7 @@
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :email %><br /> <div><%= f.label :email %><br />
<%= f.email_field :email, {autofocus: true} %></div> <%= f.email_field :email, {:autofocus => true} %></div>
<div><%= f.label :password %><br /> <div><%= f.label :password %><br />
<%= f.password_field :password %></div> <%= f.password_field :password %></div>

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %> <%= devise_error_messages! %>
<div><%= f.label :email %><br /> <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> <div><%= f.submit "Resend unlock instructions" %></div>
<% end %> <% end %>