X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..d66b4b3d2f379ed61ef2b33bb2b0507267827f98:/app/views/user/reset_password.html.erb?ds=sidebyside diff --git a/app/views/user/reset_password.html.erb b/app/views/user/reset_password.html.erb index adb714b00..51983b94a 100644 --- a/app/views/user/reset_password.html.erb +++ b/app/views/user/reset_password.html.erb @@ -1,14 +1,20 @@ -

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

+<% content_for :heading do %> +

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