<% @body_id = 'signup' %> <%= render 'spree/shared/error_messages', target: resource %>
<%= Spree.t(:new_customer) %>
<%= form_for resource, :as => :spree_user, :url => spree.registration_path(resource) do |f| %>
<%= render :partial => 'spree/shared/user_form', :locals => { :f => f } %>

<%= f.submit Spree.t(:create), :class => 'button primary' %>

<% end %> <%= Spree.t(:or) %> <%= link_to Spree.t(:login_as_existing), spree.login_path %>