Sha256: ad321377bad4980519544f93fac1267caa8ce7e7eca7c6eceef7dffd9be83efc

Contents?: true

Size: 863 Bytes

Versions: 1

Compression:

Stored size: 863 Bytes

Contents

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>
<h2><%= t(:registration) %></h2>
<div id="registration" data-hook>
  <div id="account">
    <!-- TODO: add partial with registration form -->
  </div>
  <% if Spree::Config[:allow_guest_checkout] %>
    <div id="guest_checkout" data-hook>
      <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
      <h2><%= t(:guest_user_account) %></h2>
      <%= form_for @order, :url => update_checkout_registration_path, :html => { :method => :put, :id => 'checkout_form_registration'} do |f| %>
        <p>
          <%= f.label :email, t(:email) %><br />
          <%= f.email_field :email, :class => 'title' %>
        </p>
        <p><%= f.submit t(:continue), :class => 'button primary' %></p>
      <% end %>
    </div>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_core-1.0.0.rc1 app/views/spree/checkout/registration.html.erb