Created
October 9, 2013 00:29
-
-
Save braidn/6894188 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="four columns alpha" data-hook="shipping_fieldset_wrapper"> | |
<fieldset id="gift-billing" data-hook> | |
<% if bill_address = spree_current_user.bill_address %> | |
<%= form.hidden_field :bill_address_id, :value => bill_address.id %> | |
<legend><%= t(:billing_address) %></legend> | |
<%= render 'spree/checkout/user_address', :address => bill_address %> | |
<p><%= link_to t(:edit), edit_bill_address_path(bill_address, return_to: request.fullpath) %></p> | |
<% else %> | |
<%= form.fields_for :bill_address do |bill_form| %> | |
<legend><%= t(:billing_address) %></legend> | |
<%= render :partial => 'spree/address/form', :locals => {:form => bill_form, :address_type => 'billing', :address => @order.bill_address} %> | |
<% end %> | |
<% end %> | |
</fieldset> | |
<fieldset id="shipping" data-hook> | |
<legend><%= t(:your_friends_info) %></legend> | |
<h2>Gift packages from Quarterly are sent within seven days.</h2> | |
<p class="field"> | |
<%= label_tag "Email" %> | |
<span class="required">*</span> | |
<br /> | |
<%= form.text_field :email, class: 'promo_coupon' %> | |
</p> | |
<%= form.fields_for :ship_address do |ship_form| %> | |
<%= render :partial => 'spree/address/form', :locals => {:form => ship_form, | |
:address_type => 'shipping', | |
:address => @order.ship_address} %> | |
<% end %> | |
</fieldset> | |
</div> | |
<div class="four columns"> | |
<fieldset id='shipping-extra' class='gift-note'> | |
<legend><%= t(:gift_note) %></legend> | |
<%= form.text_area :special_instructions, size: '40x10' %> | |
</fieldset> | |
</div> | |
<%= render partial: 'spree/checkout/summary_custom' %> | |
<%= render partial: 'spree/checkout/gift_js_checkout' %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment