Sha256: afbbd4e243d9ff9d3cb036a2dc7b2fbef08e146b7020d3fe8dc9fc13ffe0c9e8

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>
<h1><%= Spree.t(:registration) %></h1>
<div id="registration" class="row" data-hook>
  <div id="account">
    <%= render :partial => 'new_user' %>
  </div>
  <% if Spree::Config[:allow_guest_checkout] %>
    <div class="col-md-6">
      <div class="panel panel-default">
        <div class="panel-heading">
          <h3 class="panel-title"><%= Spree.t(:guest_user_account) %></h3>
        </div>
        <div id="guest_checkout" class="panel-body" data-hook>
          <% if flash[:registration_error] %>
            <div class='flash error'><%= flash[:registration_error] %></div>
          <% end %>
          <%= form_for @order, :url => update_checkout_registration_path, :method => :put, :html => { :id => 'checkout_form_registration' } do |f| %>
            <p>
              <%= f.email_field :email, :class => 'form-control title', :placeholder => Spree.t(:email) %>
            </p>
            <p><%= f.submit Spree.t(:continue), :class => 'btn btn-lg btn-success btn-block' %></p>
          <% end %>
        </div>
      </div>
    </div>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_auth_devise-3.1.0 lib/views/frontend/spree/checkout/registration.html.erb
spree_auth_devise-3.0.6 lib/views/frontend/spree/checkout/registration.html.erb
spree_auth_devise-3.0.5 lib/views/frontend/spree/checkout/registration.html.erb