<% if menus? %> <%= render component('ui/dropdown').new( size: :s, class: "absolute top-0 right-0 m-6", ).with_content(safe_join(menus)) %> <% end %> <% if @title %> <%= render_section do %>

<%= @title %> <%= render component("ui/toggletip").new(text: @title_hint) if @title_hint %>

<% end %> <% end %> <% sections.each do |section| %> <%= section %> <% end %> <%= render_section { content } if content.present? %> <%= render_section { tag.div(action, class: "flex justify-between items-center") } if action? %>