bookwyrm/fedireads/templates/snippets/tabs.html
2020-02-23 14:26:03 -08:00

8 lines
200 B
HTML

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