Sha256: 8a75f86c3773e57c8b7cbb78b8f96a2dc2dbe3d81d2835b38a51e1f7589ddd94
Contents?: true
Size: 638 Bytes
Versions: 697
Compression:
Stored size: 638 Bytes
Contents
<% if (rates) { %> <section> <div class="wrapper"> <h3>Shipping Method</h3> <p>Please select how you would like your products to be delivered</p> <select name="shipping"> <option value="">Choose a shipping method</option> <% _.each(rates, function(rate) { %> <option value="<%= rate.service_code %>" <% if (selectedRate && selectedRate.service_code == rate.service_code) { %>selected<% } %>> <%= '$' + parseFloat(rate.total_price).toFixed(2) + ' - ' + rate.service_name %> </option> <% }); %> </select> </div> </section> <% } %>
Version data entries
697 entries across 697 versions & 2 rubygems