moviewyrm/bookwyrm/templates/snippets/tabs.html
2020-09-17 13:30:54 -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 %}