Sha256: 7f11599083fef7dd96a5505e993af123fc75bd5ef6f5d28943d8cbd6fdc40463

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

<fieldset id='shipping_method' data-hook>
  <legend><%= t("shipping_method") %></legend>
  <div class="inner" data-hook="shipping_method_inner">
    <div id="methods">
      <p class="field radios">
        <% @order.rate_hash.each do |shipping_method| %>
          <label>
            <%= radio_button(:order, :shipping_method_id, shipping_method[:id]) %>
            <%if Spree::Config[:shipment_inc_vat] %>
              <%= shipping_method[:name] %> <%= format_price (1+TaxRate.default)*shipping_method[:cost] %>
            <%else%>
            <%= shipping_method[:name] %> <%= number_to_currency shipping_method[:cost] %>
            <%end%>
          </label><br />
        <% end %>
      </p>
    </div>
    <% if Spree::Config[:shipping_instructions] && @order.rate_hash.present? %>
      <p id="minstrs" data-hook>
        <%= form.label :special_instructions, t("shipping_instructions") %><br />
        <%= form.text_area :special_instructions, :cols => 40, :rows => 7 %>
      </p>
    <% end %>
  </div>
</fieldset>

<div class="form-buttons" data-hook="buttons">
  <input type="submit" class="continue button primary" value="<%=t("save_and_continue") %>"/>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/checkout/_delivery.html.erb
spree_core-0.70.RC1 app/views/checkout/_delivery.html.erb