X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e890528aacd74420e445793b532271996e700577..e01df312b8fee6f67bf84b4c8293b57789b6fe2c:/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 458a6084c..36dd741fe 100644 --- a/app/views/user/reset_password.html.erb +++ b/app/views/user/reset_password.html.erb @@ -1,14 +1,16 @@ -

<%= t 'user.reset_password.heading' %>

+<% content_for :heading do %> +

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

+<% end %> <%= error_messages_for :user %> -<% form_tag do %> +<%= form_tag do %> <%= hidden_field_tag(:token, params[:token]) %> - - - + + + - +
<%= t 'user.reset_password.password' %><%= password_field(:user, :pass_crypt,{:size => 30, :maxlength => 255, :tabindex => 4}) %>
<%= t 'user.reset_password.confirm password' %><%= password_field(:user, :pass_crypt_confirmation,{:size => 30, :maxlength => 255, :tabindex => 5}) %>
<%= t 'user.reset_password.password' %><%= password_field(:user, :pass_crypt, {:value => '', :size => 30, :maxlength => 255, :tabindex => 4}) %>
<%= t 'user.reset_password.confirm password' %><%= password_field(:user, :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255, :tabindex => 5}) %>
 
<% end %>