Sha256: 704a0fc7a0431663357f446bb57b9e31053539a356aeb0fe28e9f4cf80b144fe

Contents?: true

Size: 1.3 KB

Versions: 17

Compression:

Stored size: 1.3 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"><%= Spree.t(: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"><%= Spree.t(:shipping_address) %></legend>
      <p class="field checkbox" data-hook="use_billing">
        <%= check_box_tag 'order[use_billing]', '1', ((@order.bill_address.empty? && @order.ship_address.empty?) || @order.bill_address.same_as?(@order.ship_address)) %>
        <%= label_tag :order_use_billing, Spree.t(:use_billing_address), :id => 'use_billing' %>
      </p>
      <%= 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 Spree.t(:save_and_continue), :class => 'continue button primary' %>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_frontend-2.0.13 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.12 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.11 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.10 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.9 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.8 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.7 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.6 app/views/spree/checkout/_address.html.erb
spree_frontend-2.1.1 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.5 app/views/spree/checkout/_address.html.erb
spree_frontend-2.1.0 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.4 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.3 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.2 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.1 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.0 app/views/spree/checkout/_address.html.erb
spree_frontend-2.0.0.rc1 app/views/spree/checkout/_address.html.erb