Sha256: 5df9301ae95383d2e1675a25fc5d2b27d3def1d7cf4d8535578e0bcc56378172
Contents?: true
Size: 1.46 KB
Versions: 9
Compression:
Stored size: 1.46 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.shipping_eq_billing_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' %> <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, Spree.t(:save_my_address) %> </span> </div>
Version data entries
9 entries across 9 versions & 1 rubygems