app/views/devise/passwords/edit.html.erb in devise_rails3_ennder-1.0.5 vs app/views/devise/passwords/edit.html.erb in devise_rails3_ennder-1.1.0
- old
+ new
@@ -4,17 +4,17 @@
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<%= f.hidden_field :reset_password_token %>
<!-- TODO Ennder Trad° "New password" -->
- <p><%= f.label :password, "New password" %><br />
- <%= f.password_field :password %></p>
+ <div><%= f.label :password, "New password" %><br />
+ <%= f.password_field :password, :autofocus => true %></div>
<!-- TODO Ennder Trad° "Confirm new password" -->
- <p><%= f.label :password_confirmation, "Confirm new password" %><br />
- <%= f.password_field :password_confirmation %></p>
+ <div><%= f.label :password_confirmation, "Confirm new password" %><br />
+ <%= f.password_field :password_confirmation %></div>
<!-- TODO Ennder Trad° "Change my password" -->
- <p><%= f.submit "Change my password" %></p>
+ <div><%= f.submit "Change my password" %></div>
<% end %>
-<%= render :partial => "devise/shared/links" %>
\ No newline at end of file
+<%= render "devise/shared/links" %>