Sha256: 130c6ca8ea9b3a30c2e2e7bfab7cd9fc5340e993b8c82f7cc4479fffd983cad2
Contents?: true
Size: 677 Bytes
Versions: 28
Compression:
Stored size: 677 Bytes
Contents
<% items = scenarios.select { |scenario| scenario.notes.present? } %> <% if items.many? %> <div class="divide-y divide-dashed divide-lookbook-divider bg-lookbook-prose-bg h-full w-full"> <% items.each do |item| %> <div class="p-4 relative"> <h6 class="italic font-mono mb-4 opacity-40"> # <%= item.label %> </h6> <%= lookbook_render :prose, content: item.notes %> </div> <% end %> </div> <% else %> <div class="p-4 w-full h-full bg-lookbook-prose-bg"> <%= lookbook_render :prose do %> <%== items.any? ? items.first.notes : "<em class='opacity-50'>No notes provided.</em>" %> <% end %> </div> <% end %>
Version data entries
28 entries across 28 versions & 1 rubygems