X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/69e1c2c3ca084e6bbd0efc5648a65077b0c82225..060c686c1923534d2899ee129cc740e0f2fa7c9f:/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 579f24270..51983b94a 100644 --- a/app/views/user/reset_password.html.erb +++ b/app/views/user/reset_password.html.erb @@ -1,20 +1,20 @@ <% content_for :heading do %> -

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

+

<%= t '.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]) %>
- + <%= password_field(:user, :pass_crypt, {:value => '', :tabindex => 4}) %>
- + <%= password_field(:user, :pass_crypt_confirmation, {:value => '', :tabindex => 5}) %>
- + <%= submit_tag t('.reset'), :tabindex => 6 %>
<% end %>