Sha256: 18088354d7d04cbe3c76c899e365b4cd8f0e49e804133a6e8e19a794fac3061d

Contents?: true

Size: 1.48 KB

Versions: 13

Compression:

Stored size: 1.48 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 spree_current_user %>
    <span data-hook="save_user_address">
      &nbsp; &nbsp;
      <%= check_box_tag 'save_user_address', '1', spree_current_user.respond_to?(:persist_order_address) %>
      <%= label_tag :save_user_address, t('spree.save_my_address') %>
    </span>
  <% end %>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
solidus_frontend-4.0.0 app/views/spree/checkout/_address.html.erb
solidus_frontend-4.0.0.dev app/views/spree/checkout/_address.html.erb
solidus_frontend-3.4.0 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.4.0.dev app/views/spree/checkout/_address.html.erb
solidus_frontend-3.3.0 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.2.5 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.2.4 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.2.3 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.2.2 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.2.1 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.3.0.alpha app/views/spree/checkout/_address.html.erb
solidus_frontend-3.2.0 app/views/spree/checkout/_address.html.erb
solidus_frontend-3.2.0.alpha app/views/spree/checkout/_address.html.erb