X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/72e33046c80bddc0ca9b1336786dcb4b349137f7..68b1d339174cfde65ec8f99b53d2d8f0ba9a88c9:/app/views/user/reset_password.html.erb?ds=inline diff --git a/app/views/user/reset_password.html.erb b/app/views/user/reset_password.html.erb index bb00e8a6e..d1718a5e4 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 '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, {: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('user.reset_password.reset'), :tabindex => 6 %> +
<% end %>