]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/account.html.erb
Make sure we show errors correctly when resetting a password
[rails.git] / app / views / user / account.html.erb
index 2e7f68d9d4dc2409e699934c5c00795ed073f1fd..92b3407bfa6f4732d747cd6063c3656f491f41b0 100644 (file)
@@ -11,7 +11,7 @@
 <% end %>
 
 <%= error_messages_for current_user %>
-<%= form_for current_user, :html => { :multipart => true, :id => 'accountForm', :class => 'standard-form', :autocomplete => :off } do |f| %>
+<%= form_for current_user, :url => { :action => :account }, :method => :post, :html => { :multipart => true, :id => 'accountForm', :class => 'standard-form', :autocomplete => :off } do |f| %>
   <fieldset>
     <div class="form-row">
       <label class="standard-label"><%= t 'user.new.display name' %></label>