X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/24fc94944bc62de99ddf5ad81ed2598cc0d72680..b897832349ad0878e950ed177b7a050efb9a4a7c:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 2e7f68d9d..a493ade68 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -5,13 +5,13 @@ <% content_for :heading do %>

<%= t 'user.account.my settings' %>

<% 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| %>
@@ -123,7 +123,7 @@ <%= t 'user.account.replace image' %> <%= t 'user.account.image size hint' %> - <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %> + <%= f.file_field :image %> <% else %>
  • @@ -132,7 +132,7 @@ <%= t 'user.account.new image' %> <%= t 'user.account.image size hint' %> - <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %> + <%= f.file_field :image %>
  • <% end %>