Sha256: 693eb0c98b9f75ed9b84014bd032367234415beeffdf3dffc3a12e92b8981fc8

Contents?: true

Size: 405 Bytes

Versions: 6

Compression:

Stored size: 405 Bytes

Contents

<% if items.any? %>
  <% if actionables? %>
    <div class="<%= component_class %>">
      <% items.each do |item| %>
        <%= item.decorated_content %>
      <% end %>
    </div>
  <% else %>
    <ul class="<%= component_class %>">
      <% items.each do |item| %>
        <%= tag.li(**item.options) do %>
          <%= item.content %>
        <% end %>
      <% end %>
    </ul>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bs5-0.0.18 app/components/bs5/list_group_component.html.erb
bs5-0.0.17 app/components/bs5/list_group_component.html.erb
bs5-0.0.16 app/components/bs5/list_group_component.html.erb
bs5-0.0.15 app/components/bs5/list_group_component.html.erb
bs5-0.0.14 app/components/bs5/list_group_component.html.erb
bs5-0.0.13 app/components/bs5/list_group_component.html.erb