X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/50091893d44ecfc48c13bb2269f23a6f23aea1d2..6f2e3e9508b6a51062f547e3630cf1c7ad2639c1:/app/views/users/reset_password.html.erb?ds=sidebyside
diff --git a/app/views/users/reset_password.html.erb b/app/views/users/reset_password.html.erb
index afa4cb202..99f07cab6 100644
--- a/app/views/users/reset_password.html.erb
+++ b/app/views/users/reset_password.html.erb
@@ -1,20 +1,10 @@
<% content_for :heading do %>
-
<%= t '.heading', :user => current_user.display_name %>
+ <%= t ".heading", :user => current_user.display_name %>
<% end %>
-<%= error_messages_for current_user %>
-
-<%= form_tag do %>
-<%= hidden_field_tag(:token, params[:token]) %>
-
-
-
- <%= submit_tag t('.reset'), :tabindex => 6 %>
-
+<%= bootstrap_form_for current_user, :url => { :action => "reset_password" }, :html => { :method => :post } do |f| %>
+ <%= f.hidden_field :token, :name => "token", :value => params[:token] %>
+ <%= f.password_field :pass_crypt, :value => "" %>
+ <%= f.password_field :pass_crypt_confirmation, :value => "" %>
+ <%= f.primary t(".reset") %>
<% end %>