moviewyrm/fedireads/templates/snippets/tabs.html
2020-03-16 17:45:56 -07:00

6 lines
168 B
HTML

{% for tab in tabs %}
<div class="tab {% if tab.id == active_tab %}active{% endif %}">
<a href="{{ path }}/{{ tab.id }}">{{ tab.display }}</a>
</div>
{% endfor %}