Sha256: cbfb4cfed0a5662e66bfbc3ab8d61ff7d5470c791dd08eb304d63a5d5279b892
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
<!--<% _.each(options, function(option, index) { %> <select id="<%= 'option' + (index + 1) %>" name="<%= option.name %>"> <option value="">Choose an Option</option> <% _.each(option.values, function(value) { %> <option value="<%= value %>"><%= value %></option> <% }); %> </select> <% }); %>--> <% _.each(options, function(option, index) { %> <h3><%= option.name %></h3> <ul id="<%= 'option' + (index + 1) %>" data-name="<%= option.name %>"> <% _.each(_.sortBy(option.values, function(option) { return parseFloat(option) }), function(value) { %> <li data-value="<%= value %>"><%= value %></li> <% }); %> </ul> <% }); %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caboose-store-0.0.43 | app/assets/templates/caboose_store/product/options.jst.ejs |