Sha256: 0c49d00ee9bc7b0ea9ea27e9ebb57f0d70d670ebc4eff63824eba34942bd91c3
Contents?: true
Size: 890 Bytes
Versions: 157
Compression:
Stored size: 890 Bytes
Contents
<%= render Ariadne::BaseComponent.new(tag: :ul, classes: @classes, attributes: @attributes) do |grid| %> <% items.each do |item| %> <li class="<%= item.classes %>"> <% if item.link? %> <%= render(item.link) do %> <%= item.entry %> <% end %> <% if item.actions.any? %> <div> <div class="ariadne--mt-px ariadne-flex ariadne-divide-x"> <% item.actions.each_with_index do |action, idx| %> <div class="<%= idx.zero? ? '' : 'ariadne--ml-px ' %>w-0 ariadne-flex-1 ariadne-flex"> <%= action %> </div> <% end %> </div> </div> <% end %> <% else %> <div class="ariadne-flex-1 ariadne-flex ariadne-flex-col ariadne-p-8"> <%= item.entry %> </div> <% end %> </li> <% end %> <% end %>
Version data entries
157 entries across 157 versions & 1 rubygems