From c8cb7d270d177967d5e13dcda9e22626eafb7648 Mon Sep 17 00:00:00 2001 From: Joey Geiger Date: Tue, 28 Sep 2010 01:20:52 +0800 Subject: [PATCH] Use a better label to enforce that you are changing your password to a new one. --- app/views/devise/passwords/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index b2781340..2b71f9cf 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -4,10 +4,10 @@ <%= devise_error_messages! %> <%= f.hidden_field :reset_password_token %> -

<%= f.label :password %>
+

<%= f.label :password, "New password" %>
<%= f.password_field :password %>

-

<%= f.label :password_confirmation %>
+

<%= f.label :password_confirmation, "Confirm new password" %>
<%= f.password_field :password_confirmation %>

<%= f.submit "Change my password" %>