Sha256: ae004949bc5a027338f3c98a221d431e76d28eadb814caf6a6aca49d8be00e58
Contents?: true
Size: 1.94 KB
Versions: 22
Compression:
Stored size: 1.94 KB
Contents
<div id="shipping-method" data-hook> <div data-hook="shipping_method_inner"> <div id="methods"> <%= form.fields_for :shipments do |ship_form| %> <div class="shipment"> <h4 class="text-uppercase checkout-content-header checkout-content-shipping-methods-header mb-1"> <%= Spree.t('checkout_page.delivery_method') %> </h4> <div id="shipToLocation" class="mb-4 text-uppercase"> <%= Spree.t(:ship_to) %> <span class="text-muted"><%= @order.shipping_address.address1 %></span> - <% if @order.shipping_address.zipcode.present? %> <span class="text-muted"><%= @order.shipping_address.zipcode %></span> - <% end %> <span class="text-muted"><%= @order.shipping_address.country_iso %></span> </div> <ul class="checkout-content-shipping-methods-list"> <% ship_form.object.shipping_rates.each do |rate| %> <li class="shipping-method"> <label class="spree-radio-label"> <%= ship_form.radio_button :selected_shipping_rate_id, rate.id, data: { behavior: 'shipping-method-selector', cost: rate.display_cost, tax: rate.display_tax_amount } %> <span class="spree-radio-label-custom-input"></span> <span class="rate-name"><%= rate.name %></span> <p class="rate-cost"><%= rate.display_cost %></p> </label> </li> <% end %> </ul> </div> <% end %> </div> <% if Spree::Config[:shipping_instructions] %> <div id="minstrs" data-hook> <h4 class="h5"> <%= Spree.t(:shipping_instructions) %> </h4> <%= form.text_area :special_instructions, cols: 40, rows: 4, class: "form-control" %> </div> <% end %> </div> </div>
Version data entries
22 entries across 22 versions & 1 rubygems