Skip to content

Instantly share code, notes, and snippets.

@rterbush
Created May 24, 2013 16:02
Show Gist options
  • Save rterbush/5644529 to your computer and use it in GitHub Desktop.
Save rterbush/5644529 to your computer and use it in GitHub Desktop.
<h5 class="stock-shipping-method-title"><%= Spree.t(:shipping_method) %></h5>
<ul class="field radios shipping-methods">
<% ship_form.object.shipping_rates.each do |rate| %>
<li class="shipping-method">
<label>
<%= ship_form.radio_button :selected_shipping_rate_id, rate.id %>
<span class="rate-name"><%= rate.name %></span>
<span class="rate-cost"><%= number_to_currency rate.cost %></span>
</label>
</li><br />
<% end %>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment