{% macro tabs( id, tabsets=[], main_attrs=None, tablist_attrs=None, default_tab_index=1 ) %} {% if registerComponent('tabs') %} {% endif %}
{% for tabset in tabsets %} {% endfor %}
{% for tabset in tabsets %} {% if tabset.panel %}
{{ tabset.panel | safe }}
{% endif %} {% endfor %}
{% endmacro %}