Sha256: a32dfb0e5baf309927a881c31b9124aaa2e427c203d45ac16128052d80023f5a
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
<%= render Yattho::BaseComponent.new(**@system_arguments) do %> <% if @header.present? %> <div class="dropdown-header"> <%= @header %> </div> <% end %> <% if list? %> <ul> <% items.each do |item| %> <% if item.divider? %> <%= item %> <% else %> <li> <%= item %> </li> <% end %> <% end %> </ul> <% else %> <% items.each do |item| %> <%= item %> <% 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/dropdown/menu.html.erb |
yattho_view_components-0.0.1 | app/components/yattho/alpha/dropdown/menu.html.erb |