Sha256: 84e32eb0c16289eb78d6f20e9fd127fe7974a8a343fa1aca8035fda74e419a22
Contents?: true
Size: 556 Bytes
Versions: 7
Compression:
Stored size: 556 Bytes
Contents
<%= render Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes) do |list| %> <% items.each do |item| %> <%= render Ariadne::BaseComponent.new(tag: :li, classes: item.classes, attributes: item.attributes) do %> <% if item.linked? %> <%= render Ariadne::LinkComponent.new(href: item.link[:href], classes: item.link[:classes], attributes: item.link[:attributes]) do %> <%= item.entry %> <% end %> <% else %> <%= item.entry %> <% end %> <% end %> <% end %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems