Make sure we show errors correctly when resetting a password
This commit is contained in:
parent
7fd1e55938
commit
a70898be6d
2 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<h1><%= t 'user.reset_password.heading', :user => current_user.display_name %></h1>
|
||||
<% end %>
|
||||
|
||||
<%= error_messages_for :user %>
|
||||
<%= error_messages_for current_user %>
|
||||
|
||||
<%= form_tag do %>
|
||||
<%= hidden_field_tag(:token, params[:token]) %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue