Sha256: be53661c654e1e874bd5fe76d6e39ece7d3c365e5712eaeb47a9defc9e23a607
Contents?: true
Size: 890 Bytes
Versions: 15
Compression:
Stored size: 890 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 prose-a:text-indigo-900"> <%= markdown(item[:notes]) %> </div> </div> <% end %> </div> <% else %> <div class="p-4 prose prose-sm prose-a:text-indigo-900"> <% if items.any? %> <%= markdown(items.first[:notes]) %> <% else %> <em class='opacity-50'>No notes provided.</em> <% end %> </div> <% end %> </div>
Version data entries
15 entries across 15 versions & 1 rubygems