<% @body_id = 'signup' %> <%= render "shared/error_messages", :target => @user %>

<%= t("new_customer") %>

<%= hook :signup do %> <%= form_for(:user, :url => registration_path(@user)) do |f| %> <%= hook :signup_inside_form do %> <%= render 'shared/user_form', :f => f %>

<%= submit_tag t("create"), :class => 'button primary' %>

<% end %> <% end %> <%= t("or") %> <%= link_to t("login_as_existing"), login_path %> <% end %>
<%= hook :login_extras %>