{% for tab in tabs %} {% if tab.url != None %} {% include "dashboard/classes/pane.html" with url=tab.url id="tab-"|add:tab.id|default:forloop.counter class="col s12" %} {% else %}
{{ tab.html|default:"Empty" }}
{% endif %} {% endfor %}