app/views/devise/passwords/new.html.erb in devise_rails3_ennder-1.0.5 vs app/views/devise/passwords/new.html.erb in devise_rails3_ennder-1.1.0
- old
+ new
@@ -2,13 +2,13 @@
<h2>Forgot your password?</h2>
<%= 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.email_field :email %></p>
+ <div><%= f.label :email %><br />
+ <%= f.email_field :email, :autofocus => true %></div>
<!-- t('devise.passwords.send_me_instructions') -->
- <p><%= f.submit "Send me reset password instructions" %></p>
+ <div><%= f.submit "Send me reset password instructions" %></div>
<% end %>
-<%= render :partial => "devise/shared/links" %>
\ No newline at end of file
+<%= render "devise/shared/links" %>