Skip to content

Commit

Permalink
Additional HTML formatting improvements to the password edit form.
Browse files Browse the repository at this point in the history
[#1769 state:resolved]
  • Loading branch information
Trung LE authored and schof committed Dec 14, 2010
1 parent 32f0350 commit 6231f88
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions auth/app/views/user_password_resets/edit.html.erb
@@ -1,13 +1,15 @@
<%= render "shared/error_messages", :target => @user %>
<h1><%= t(:change_my_password) %></h1>

<%= form_for @user, :url => user_password_path, :html => {:method => :put} do |f| %>
<%= render "shared/error_messages", :target => @user %>
<%= f.label :password %><br />
<%= f.password_field :password %><br />
<br />
<%= f.label :password_confirmation %><br />
<%= f.password_field :password_confirmation %><br />
<br />
<p>
<%= f.label :password %><br />
<%= f.password_field :password %><br />
</p>
<p>
<%= f.label :password_confirmation %><br />
<%= f.password_field :password_confirmation %><br />
</p>
<%= f.hidden_field :reset_password_token %>
<%= f.submit t("update_password") %>
<% end %>
<% end %>

0 comments on commit 6231f88

Please sign in to comment.