{% macro tab(id, tabtype, header, items) %}
{{header}}
{% for item in items %} {% set hrefid="tabitem" + loop.index|string %} {% set inactive="" %} {% if loop.index == 1 %} {% set inactive="in active" %} {% endif %}

{{item.title}}

{{item.text}}

{% endfor %}
{% endmacro %}