Sha256: 840ad588cd295f54b157e8e0abcb628c1cb4a7bf8a8b2edba342d575e7c71bb1

Contents?: true

Size: 1.49 KB

Versions: 92

Compression:

Stored size: 1.49 KB

Contents

<div class="columns alpha six" data-hook="billing_fieldset_wrapper">
  <fieldset id="billing" data-hook>
    <%= form.fields_for :bill_address do |bill_form| %>
      <legend align="center"><%= t('spree.billing_address') %></legend>
      <%= render partial: 'spree/address/form', locals: { form: bill_form, address_type: 'billing', address: @order.bill_address } %>
    <% end %>
  </fieldset>
</div>

<div class="columns omega six" data-hook="shipping_fieldset_wrapper">
  <fieldset id="shipping" data-hook>
    <%= form.fields_for :ship_address do |ship_form| %>
      <legend align="center"><%= t('spree.shipping_address') %></legend>
      <div class="checkbox" data-hook="use_billing">
        <%= check_box_tag 'order[use_billing]', '1', @order.shipping_eq_billing_address? %>
        <%= label_tag :order_use_billing, t('spree.use_billing_address'), id: 'use_billing' %>
      </div>
      <%= render partial: 'spree/address/form', locals: { form: ship_form, address_type: 'shipping', address: @order.ship_address } %>
    <% end %>
  </fieldset>
</div>
<hr class="clear" />

<div class="form-buttons" data-hook="buttons">
  <%= submit_tag t('spree.save_and_continue'), class: 'continue button primary' %>
  <% 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, t('spree.save_my_address') %>
    </span>
  <% end %>
</div>

Version data entries

92 entries across 92 versions & 3 rubygems

Version Path
solidus_frontend-3.1.1 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.1.0 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.11 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.0.2 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.10.5 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.10 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.0.1 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.0.0 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.9 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.8 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.7 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.6 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.0.0.rc2 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.5 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.4 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.3 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.2 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.1 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.10.3 app/views/spree/checkout/_address.html.erb
solidus_frontend-2.11.0 app/views/spree/checkout/_address.html.erb