{% if tabs %} {% for tab in tabs %} {{ tab.label }} {% if tab.badge %}{{ tab.badge }}{% endif %} {% endfor %} {% for tab in tabs %}