Sha256: 1e2309baff7e24ec1871d0e060ac1869392c3a8bb004f9c415ca2f86ec7d20a3
Contents?: true
Size: 1.5 KB
Versions: 18
Compression:
Stored size: 1.5 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"> <%= Spree.t('checkout_page.delivery_method') %> </h4> <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] %> <p id="minstrs" data-hook> <h4 class="h5"> <%= Spree.t(:shipping_instructions) %> </h4> <%= form.text_area :special_instructions, cols: 40, rows: 4, class: "form-control" %> </p> <% end %> </div> </div>
Version data entries
18 entries across 18 versions & 1 rubygems