{% for tab_widget in form %}
{# Create a tab for each compound form #}
{% if tab_widget.vars.compound ?? false %}
{% endif %}
{% endfor %}
{# Panes #}
{% for tab_widget in form %}
{# Create a tab for each compound form #}
{% if tab_widget.vars.compound ?? false %}
{{ form_help(tab_widget) }}
{{ form_errors(tab_widget) }}
{% for section_widget in tab_widget %}
{% if section_widget.vars.compound ?? false %}
{% if not loop.last %}
{% endif %}
{% else %} {# If not a compound render as normal row #}
{{ form_row(section_widget) }}
{% endif %}
{% endfor %}