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

Use Rails 3 email_field helper instead of text_field for email

This commit is contained in:
Kevin 2010-09-28 06:12:30 +08:00 committed by José Valim
parent c8cb7d270d
commit ab690bf36f
6 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<p><%= f.label :email %><br />
<%= f.text_field :email %></p>
<%= f.email_field :email %></p>
<p><%= f.submit "Resend confirmation instructions" %></p>
<% end %>

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<p><%= f.label :email %><br />
<%= f.text_field :email %></p>
<%= f.email_field :email %></p>
<p><%= f.submit "Send me reset password instructions" %></p>
<% end %>

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<p><%= f.label :email %><br />
<%= f.text_field :email %></p>
<%= f.email_field :email %></p>
<p><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
<%= f.password_field :password %></p>

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<p><%= f.label :email %><br />
<%= f.text_field :email %></p>
<%= f.email_field :email %></p>
<p><%= f.label :password %><br />
<%= f.password_field :password %></p>

View file

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

View file

@ -4,7 +4,7 @@
<%= devise_error_messages! %>
<p><%= f.label :email %><br />
<%= f.text_field :email %></p>
<%= f.email_field :email %></p>
<p><%= f.submit "Resend unlock instructions" %></p>
<% end %>