Sha256: 4cd3457e7ebd1898cae2422db48e5ee88145ff9d5e089f5194ea791796965eaf

Contents?: true

Size: 801 Bytes

Versions: 2

Compression:

Stored size: 801 Bytes

Contents

<%= render "shared/error_messages", :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 "shared/error_messages", :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.text_field :email, :class => 'title'  %>
        </p>
        <p><%= submit_tag t("continue"), :class => 'button primary' %></p>
      <% end %>
    </div>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/checkout/registration.html.erb
spree_core-0.70.RC1 app/views/checkout/registration.html.erb