Sha256: 757cd1728592757c846e9bb81406692708412221ce7f5159f8fc293b1dd40e49

Contents?: true

Size: 1.81 KB

Versions: 24

Compression:

Stored size: 1.81 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

24 entries across 24 versions & 1 rubygems

Version Path
spree_frontend-3.2.9 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.6 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.8 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.5 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.4 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.7 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.3 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.6 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.2 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.5 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.1 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.4 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.0 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.0.rc4 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.0.rc3 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.3 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.2 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.0.rc2 app/views/spree/checkout/_address.html.erb
spree_frontend-3.3.0.rc1 app/views/spree/checkout/_address.html.erb
spree_frontend-3.2.1 app/views/spree/checkout/_address.html.erb