app/views/devise/passwords/new.html.erb in devise-1.1.9 vs app/views/devise/passwords/new.html.erb in devise-1.2.rc
- old
+ new
@@ -2,10 +2,10 @@
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
<%= 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 %>
<%= render :partial => "devise/shared/links" %>
\ No newline at end of file