<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>

<h1><%= Spree.t(:editing_user) %></h1>

<%= form_for @user, :url => spree.user_path(@user), :method => :put do |f| %>
  <%= render :partial => 'spree/shared/user_form', :locals => { :f => f } %>
  <p>
    <%= f.submit Spree.t(:update), :class => 'button primary' %>
  </p>
<% end %>

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>

<h1><%= Spree.t(:editing_user) %></h1>

<%= form_for Spree::User.new, :as => @user, :url => spree.user_path(@user), :method => :put do |f| %>
  <%= render :partial => 'spree/shared/user_form', :locals => { :f => f } %>
  <p>
    <%= f.submit Spree.t(:update), :class => 'button primary' %>
  </p>
<% end %>

Fix a compatibility issue with form_for as provided by other helper replacement gems.
Fix a compatibility issue with form_for as provided by other helper replacement gems.

Fixes #100
