Make sure we show errors correctly when resetting a password

This commit is contained in:
Tom Hughes 2017-08-11 17:45:57 +01:00
parent 7fd1e55938
commit a70898be6d
2 changed files with 7 additions and 1 deletions

View file

@ -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]) %>