<% @body_id = 'signup' %> <%= render "shared/error_messages", :target => @user %> <%= hook :signup do %> <%= form_for(:user, :url => registration_path(@user), :html => {:class => "form-horizontal"}) do |f| %>
<%= t("new_customer") %> <%= render 'shared/user_form', :f => f %>
<%= f.submit t("registrate"), :class => "btn btn-primary" %>
<% end %> <% end %> <%= hook :login_extras %>