Use a better label to enforce that you are changing your password to a new one.

This commit is contained in:
Joey Geiger 2010-09-28 01:20:52 +08:00 committed by José Valim
parent 3e9b2092f8
commit c8cb7d270d
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@
<%= devise_error_messages! %>
<%= f.hidden_field :reset_password_token %>
<p><%= f.label :password %><br />
<p><%= f.label :password, "New password" %><br />
<%= f.password_field :password %></p>
<p><%= f.label :password_confirmation %><br />
<p><%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation %></p>
<p><%= f.submit "Change my password" %></p>