Sha256: e706a7a26acd0f5889d95bd85769e2b3fc088c6a4693e0562987fbc243784e20

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

<%= render partial: 'spree/shared/error_messages', locals: { target: @user } %>
<div class="checkout-registration container">
  <div class="row col-xs-12 col-lg-11 mx-auto">
    <div class="col-xs-12 col-lg-6">
      <%= render partial: 'spree/shared/login' if defined?(spree_login_path) %>
    </div>
    <div class="col-xs-12 col-lg-6">
      <div class="col-lg-11 mx-auto pt-lg-2">
        <% if defined?(spree_signup_path) %>
          <%= render partial: 'spree/shared/registration', locals: { registration_button: '' } %>
          <div class="checkout-registration-styled-or">
            <%= Spree.t(:or) %>
          </div>
        <% end %>
        <% if Spree::Config[:allow_guest_checkout] %>
          <% path = spree.respond_to?(:update_checkout_registration_path) ? spree.update_checkout_registration_path : spree_signup_path %>

          <%= form_for @order, url: path, method: :put, html: { id: 'checkout_form_registration' } do |f| %>
            <div class="form-group">
              <p class="form-group checkout-content-inner-field">
                <%= f.email_field :email, class: 'spree-flat-input', placeholder: Spree.t(:email), autofocus: true %>
              </p>
            </div>
            <%= f.submit Spree.t(:continue_as_guest), class: 'btn btn-block btn-outline-primary spree-btn', tabindex: 4 %>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_frontend-4.1.0.rc2 app/views/spree/checkout/registration.html.erb
spree_frontend-4.1.0.rc1 app/views/spree/checkout/registration.html.erb