{% for tab in result_tabs %} {% if forloop.first %}
{% else %}
{% endif %} {% include tab.template with results=tab %}
{% endfor %}