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.9.170 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.169 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.168 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.167 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.166 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.165 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.164 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.163 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.162 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.161 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.160 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.159 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.158 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.157 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.156 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.155 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.154 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.153 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.152 app/assets/templates/caboose/product/options.jst.ejs
caboose-cms-0.9.151 app/assets/templates/caboose/product/options.jst.ejs