Sha256: a6e8d7e2552d5d0ee1ab6b5a3eeecca1f7762c67af43ccab75dcd12254de173e

Contents?: true

Size: 451 Bytes

Versions: 350

Compression:

Stored size: 451 Bytes

Contents

<% _.each(options, function(option, index) { %>  
  <h3><%= option.name %></h3>
  <ul id="<%= 'option' + (index + 1) %>" data-name="<%= option.name %>">
    <%
    for (var k in option.values) {
      var url = option.values[k]            
      if (url) { %><li data-value="<%= k %>" class='swatch'><div></div><img src='<%= url %>' /><div></div></li><% }
      else     { %><li data-value="<%= k %>"><%= k %></li><% }
    }
    %>
  </ul>
<% }); %>

Version data entries

350 entries across 350 versions & 1 rubygems

Version Path
caboose-cms-0.7.57 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.55 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.54 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.53 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.52 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.51 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.50 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.49 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.48 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.7.47 app/assets/templates/caboose/product/options.jst.ejs