Sha256: 35d8358662e2ae740e3d32d74f9502959922625dfccaf9bbe5cbe2be9b472d7e
Contents?: true
Size: 725 Bytes
Versions: 32
Compression:
Stored size: 725 Bytes
Contents
<div class="space-y-1 mb-4" <% if collapsable %> data-controller="menu" data-menu-target="self" data-menu-key-param="<%= key %>" data-menu-default-collapsed-state="<%= collapsed ? 'collapsed' : 'expanded' %>" <% end %> > <%= render Avo::Sidebar::HeadingComponent.new label: item.name, icon: helpers.svg(icon, class: "h-5"), collapsable: item.collapsable, collapsed: collapsed, key: key %> <%= content_tag :div, class: class_names("w-full space-y-1", {"hidden": collapsed}), data: { menu_target: :items, **section_collapse_data_animation } do %> <% @items.each do |item| %> <%= render Avo::Sidebar::ItemSwitcherComponent.new item: item %> <% end %> <% end %> </div>
Version data entries
32 entries across 32 versions & 1 rubygems