From 6231f88b5b095e3b160912107dc56c0acfa214e7 Mon Sep 17 00:00:00 2001 From: Trung LE Date: Tue, 14 Dec 2010 17:27:59 +1100 Subject: [PATCH] Additional HTML formatting improvements to the password edit form. [#1769 state:resolved] --- .../views/user_password_resets/edit.html.erb | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/auth/app/views/user_password_resets/edit.html.erb b/auth/app/views/user_password_resets/edit.html.erb index 90dc0b5e433..996fe8a2746 100644 --- a/auth/app/views/user_password_resets/edit.html.erb +++ b/auth/app/views/user_password_resets/edit.html.erb @@ -1,13 +1,15 @@ +<%= render "shared/error_messages", :target => @user %>

<%= t(:change_my_password) %>

- + <%= form_for @user, :url => user_password_path, :html => {:method => :put} do |f| %> - <%= render "shared/error_messages", :target => @user %> - <%= f.label :password %>
- <%= f.password_field :password %>
-
- <%= f.label :password_confirmation %>
- <%= f.password_field :password_confirmation %>
-
+

+ <%= f.label :password %>
+ <%= f.password_field :password %>
+

+

+ <%= f.label :password_confirmation %>
+ <%= f.password_field :password_confirmation %>
+

<%= f.hidden_field :reset_password_token %> <%= f.submit t("update_password") %> -<% end %> +<% end %> \ No newline at end of file