Sha256: fb93e4745e02fbd76dcd17620ad56185a836b029515fa8a9496bf53d555b27df
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 Bytes
Contents
<%= render(Yattho::BaseComponent.new(tag: :ul, role: @role, classes: "ActionListWrap")) do %> <% if heading %> <%= heading %> <% end %> <%= render(Yattho::BaseComponent.new(tag: :li, **@list_wrapper_arguments)) do %> <%= render(Yattho::BaseComponent.new(tag: :ul, **@system_arguments)) do %> <% items.each_with_index do |item, index| %> <% if index > 0 && @show_dividers %> <%= render(Yattho::Alpha::ActionList::Divider.new) %> <% end %> <%= item %> <% end %> <% end %> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | app/components/yattho/alpha/action_list.html.erb |
yattho_view_components-0.0.1 | app/components/yattho/alpha/action_list.html.erb |