Sha256: fe408b670a41db5e0b971aa2b894fea6d26b1550380ec8f9858ce89d00760faa
Contents?: true
Size: 1.49 KB
Versions: 6
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> <p class="field 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' %> </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 t('spree.save_and_continue'), class: 'continue button primary' %> <% if try_spree_current_user %> <span data-hook="save_user_address"> <%= 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
6 entries across 6 versions & 1 rubygems