Sha256: 72ab83659b27461c720dc136603c9221385bb83ec6cc01cec09d0921fee52c98

Contents?: true

Size: 1.55 KB

Versions: 8

Compression:

Stored size: 1.55 KB

Contents

<div id="checkout" data-hook>
  <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>

  <div class="row" data-hook="checkout_header">
    <h1 class="columns three alpha" data-hook="checkout_title"><%= Spree.t(:checkout) %></h1>
    <div class="columns thirteen omega" data-hook="checkout_progress"><%= checkout_progress %></div>
  </div>

  <div class="row" data-hook="checkout_content">
    <div class="columns <%= if @order.state != 'confirm' then 'alpha twelve' else 'alpha omega sixteen' end %>" data-hook="checkout_form_wrapper">
      <%= form_for @order, :url => update_checkout_path(@order.state), :html => { :id => "checkout_form_#{@order.state}" } do |form| %>
        <% unless @order.email? %>
          <p class="field" style='clear: both'>
            <%= form.label :email %><br />
            <%= form.text_field :email %>
          </p>
        <% end %>
        <%= form.hidden_field :state_lock_version %>
        <%= render @order.state, :form => form %>
      <% end %>
    </div>
    <% if @order.state != 'confirm' %>
      <div id="checkout-summary" data-hook="checkout_summary_box" class="columns omega four">
        <%= render :partial => 'summary', :locals => { :order => @order } %>
      </div>
    <% end %>
  </div>
</div>

<script>
Spree.current_order_id = "<%= @order.number %>"
Spree.current_order_token = "<%= @order.token %>"
</script>

<% if I18n.locale != :en %>
  <script src="<%= assets_prefix %>/jquery.validate/localization/messages_<%= I18n.locale.to_s.downcase.gsub("-", "") %>.js"></script>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_frontend-2.2.14 app/views/spree/checkout/edit.html.erb
spree_frontend-2.2.13 app/views/spree/checkout/edit.html.erb
spree_frontend-2.2.12 app/views/spree/checkout/edit.html.erb
spree_frontend-2.2.11 app/views/spree/checkout/edit.html.erb
spree_frontend-2.2.10 app/views/spree/checkout/edit.html.erb
spree_frontend-2.2.9 app/views/spree/checkout/edit.html.erb
spree_frontend-2.2.8 app/views/spree/checkout/edit.html.erb
spree_frontend-2.2.7 app/views/spree/checkout/edit.html.erb