%# locals: (title:, subtitle: nil, content:, collapsible: false, open: true, auto_open_param: nil, status: nil, meta: nil, actions: nil, badge: nil) %> <% if collapsible %> class="group bg-container shadow-border-xs rounded-xl p-4" <%= "data-controller=\"auto-open\" data-auto-open-param-value=\"#{h(auto_open_param)}\"".html_safe if auto_open_param.present? %>> <%= icon "chevron-right", class: "text-secondary group-open:transform group-open:rotate-90 transition-transform" %> <%= title %> <%= badge if badge.present? %> <% if subtitle.present? %> <%= subtitle %> <% end %> <% if status.present? %> <% if meta.present? %> <%= meta %> <% end %> <%= status %> <%= actions if actions.present? %> <% end %> <%= content %> <% else %> <%= title %> <% if subtitle.present? %> <%= subtitle %> <% end %> <%= content %> <% end %>
<%= subtitle %>