X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ded8b55c87f32579b9f42ecb8a58567f4dfe30d..aaaeb211dea4711fd6bff4d79c1339e82a43ebcd:/app/views/user/reset_password.html.erb diff --git a/app/views/user/reset_password.html.erb b/app/views/user/reset_password.html.erb index d1718a5e4..895bd98b6 100644 --- a/app/views/user/reset_password.html.erb +++ b/app/views/user/reset_password.html.erb @@ -1,8 +1,8 @@ <% content_for :heading do %> -

<%= t 'user.reset_password.heading', :user => @user.display_name %>

+

<%= t 'user.reset_password.heading', :user => current_user.display_name %>

<% end %> -<%= error_messages_for :user %> +<%= error_messages_for current_user %> <%= form_tag do %> <%= hidden_field_tag(:token, params[:token]) %>