Sha256: ec5ea77aaddb9f808431651e7b0e3af1cc8a5629847b2f1c0589a3da9f1c3e7f

Contents?: true

Size: 1.34 KB

Versions: 23

Compression:

Stored size: 1.34 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">
        <% if defined?(spree_signup_path) %>
          <%= render partial: 'spree/shared/registration', locals: { registration_button: '' } %>
        <% end %>
        <% if Spree::Config[:allow_guest_checkout] %>
          <div class="checkout-registration-styled-or">
            <%= Spree.t(:or) %>
          </div>
          <% 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) %>
              </p>
            </div>
            <%= f.submit Spree.t(:continue_as_guest), class: 'btn btn-block btn-outline-primary spree-btn' %>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
</div>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
spree_frontend-4.2.7 app/views/spree/checkout/registration.html.erb
spree_frontend-4.3.3 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.6 app/views/spree/checkout/registration.html.erb
spree_frontend-4.3.2 app/views/spree/checkout/registration.html.erb
spree_frontend-4.4.0 app/views/spree/checkout/registration.html.erb
spree_frontend-4.3.1 app/views/spree/checkout/registration.html.erb
spree_frontend-4.3.0 app/views/spree/checkout/registration.html.erb
spree_frontend-4.3.0.rc3 app/views/spree/checkout/registration.html.erb
spree_frontend-4.3.0.rc2 app/views/spree/checkout/registration.html.erb
spree_frontend-4.3.0.rc1 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.5 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.4 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.3.1 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.3 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.2 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.1 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.0 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.0.rc5 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.0.rc4 app/views/spree/checkout/registration.html.erb
spree_frontend-4.2.0.rc3 app/views/spree/checkout/registration.html.erb