<% end %>
<%= error_messages_for current_user %>
-<%= form_for current_user, :url => { :action => :account }, :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>
<%= t 'user.account.replace image' %>
<span class="form-help deemphasize"><%= t 'user.account.image size hint' %></span>
</label>
- <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %>
+ <%= f.file_field :image %>
</li>
<% else %>
<li>
<%= t 'user.account.new image' %>
<span class="form-help deemphasize"><%= t 'user.account.image size hint' %></span>
</label>
- <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %>
+ <%= f.file_field :image %>
</li>
<% end %>
<li>