Use a better label to enforce that you are changing your password to a new one.
This commit is contained in:
parent
3e9b2092f8
commit
c8cb7d270d
|
@ -4,10 +4,10 @@
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
<%= f.hidden_field :reset_password_token %>
|
<%= f.hidden_field :reset_password_token %>
|
||||||
|
|
||||||
<p><%= f.label :password %><br />
|
<p><%= f.label :password, "New password" %><br />
|
||||||
<%= f.password_field :password %></p>
|
<%= 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>
|
<%= f.password_field :password_confirmation %></p>
|
||||||
|
|
||||||
<p><%= f.submit "Change my password" %></p>
|
<p><%= f.submit "Change my password" %></p>
|
||||||
|
|
Loading…
Reference in New Issue