Sha256: 1a047147e5073777bb3bfaa9cb2c03e4afc44cf8c4ea5f3cc118957b9754ff4c
Contents?: true
Size: 918 Bytes
Versions: 3
Compression:
Stored size: 918 Bytes
Contents
<% @body_id = 'signup' %> <%= render "shared/error_messages", :target => @user %> <div id="new-customer"> <h2><%= t("new_customer") %></h2> <%= hook :signup do %> <%= form_for(:user, :url => registration_path(@user)) do |f| %> <%= hook :signup_inside_form do %> <% if session[:omniauth] %> <p> <%= f.label :email, t("email") %><br /> <%= f.text_field :email, :class => 'title' %> </p> <p><%= submit_tag t("create"), :class => 'button primary' %></p> <% else %> <%= render 'shared/user_form', :f => f %> <p><%= submit_tag t("create"), :class => 'button primary' %></p> <% end %> <% end %> <% end %> <%= t("or") %> <%= session[:omniauth] ? link_to( t("login_as_existing"), user_registration_path, :method => :delete) : link_to( t("login_as_existing"), login_path) %> <% end %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_social-1.1 | app/views/user_registrations/new.html.erb |
spree_social-1.0.2 | app/views/user_registrations/new.html.erb |
spree_social-1.0.1 | app/views/user_registrations/new.html.erb |