Sha256: 68d88a8accd1dc7ccc506f27534f7b35e4ddf0e5f68caefbb6547a2b39a0326f

Contents?: true

Size: 1.84 KB

Versions: 34

Compression:

Stored size: 1.84 KB

Contents

<div class="row">
  <div class="col-sm-6" data-hook="billing_fieldset_wrapper">
    <div class="panel panel-default" id="billing" data-hook>
      <%= form.fields_for :bill_address do |bill_form| %>
        <div class="panel-heading">
          <h3 class="panel-title"><%= Spree.t(:billing_address) %></h3>
        </div>
        <div class="panel-body">
          <%= render :partial => 'spree/address/form', :locals => { :form => bill_form, :address_type => 'billing', :address => @order.bill_address } %>
        </div>
      <% end %>
    </div>
  </div>

  <div class="col-sm-6" data-hook="shipping_fieldset_wrapper">
    <div class="panel panel-default" id="shipping" data-hook>
      <%= form.fields_for :ship_address do |ship_form| %>
        <div class="panel-heading">
          <h3 class="panel-title"><%= Spree.t(:shipping_address) %></h3>
        </div>
        <div class="panel-body">
          <p class="field checkbox" data-hook="use_billing">
            <%= label_tag :order_use_billing, :id => 'use_billing' do %>
              <%= check_box_tag 'order[use_billing]', '1', @order.shipping_eq_billing_address? %>
              <%= Spree.t(:use_billing_address) %>
            <% end %>
          </p>
          <%= render :partial => 'spree/address/form', :locals => { :form => ship_form, :address_type => 'shipping', :address => @order.ship_address } %>
        </div>
      <% end %>
    </div>
  </div>
</div>

<div class="well text-right form-buttons" data-hook="buttons">
  <%= submit_tag Spree.t(:save_and_continue), :class => 'btn btn-lg btn-success' %>
  <% if try_spree_current_user %>
    <span data-hook="save_user_address">
      &nbsp; &nbsp;
      <%= check_box_tag 'save_user_address', '1', try_spree_current_user.respond_to?(:persist_order_address) %>
      <%= label_tag :save_user_address, Spree.t(:save_my_address) %>
    </span>
  <% end %>
</div>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
spree_frontend-3.1.14 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.13 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.12 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.11 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.10 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.9 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.8 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.7 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.6 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.5 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.4 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.3 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.2 app/views/spree/checkout/_address.html.erb
spree_frontend-3.0.10 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.1 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.0 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.0.rc4 app/views/spree/checkout/_address.html.erb
spree_frontend-3.0.9 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.0.rc3 app/views/spree/checkout/_address.html.erb
spree_frontend-3.1.0.rc2 app/views/spree/checkout/_address.html.erb