Sha256: 4db75fcab840232acdba368b1b8a238a16d1e2553f1c9003d82e9fee4a0fc6bd
Contents?: true
Size: 842 Bytes
Versions: 2
Compression:
Stored size: 842 Bytes
Contents
<div class="iframe" data-iframe-id="<%= id %>"> <div class="demo" data-iframe-id="<%= id %>"> <% if demo.kind_of?(Docks::Containers::Demo) %> <% demo_variations = [demo.component] + demo.joint_variations %> <% demo_variations.each do |variation| %> <% name = variation.name %> <section class="demo__section" data-name="<%= name %>" id="demo__section--<%= name %>"> <% unless demo_variations.length == 1 %> <header class="demo__header"> <h2 class="badge badge--code"><%= name %></h2> </header> <% end %> <div class="content"><%= variation.markup %></div> </section> <% end %> <% else %> <section class="demo__section"> <div class="content"><%= demo %></div> </section> <% end %> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
docks_theme_api-1.0.3 | assets/templates/erb/demo.erb |
docks_theme_api-1.0.2 | assets/templates/erb/demo.erb |