Sha256: 55c312e98980f75e12a93eb6631ee66046a8b845cb335856446b1ecde72c1c78
Contents?: true
Size: 842 Bytes
Versions: 8
Compression:
Stored size: 842 Bytes
Contents
<% items = examples.filter { |example| example[:notes].present? } %> <div class="text-gray-600 bg-gray-50 h-full overflow-auto" data-morph-strategy="replace"> <% if items.many? %> <div class="divide-y divide-dashed divide-gray-300"> <% items.each do |item| %> <div class="px-4 pt-3 pb-6 relative"> <h6 class="text-[11px] text-gray-500 italic inline-block uppercase tracking-wide mb-4"> <%= item[:label] %> </h6> <div class="prose prose-sm"> <%= markdown(item[:notes]) %> </div> </div> <% end %> </div> <% else %> <div class="p-4 prose prose-sm"> <% if items.any? %> <%= markdown(items.first[:notes]) %> <% else %> <em class='opacity-50'>No notes provided.</em> <% end %> </div> <% end %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems