{% if widget.attrs.is_tabbed %} {# Group of groups renders as tabs — filter to group-type children only #} {% set tablist_id = "grp-" ~ widget.path | replace('.','_') | replace('(','_') | replace(')','_') | replace(':','_') %} {% set tab_children = widget.children | selectattr('type', 'equalto', 'group') | list %}
{% else %} {# Regular group renders with border #} {% endif %}