Begin bootstapify.
[redakcja.git] / src / catalogue / templates / catalogue / main_tabs.html
index 82321cc..eb74bbe 100755 (executable)
@@ -1,3 +1,3 @@
 {% for tab in tabs %}
-    <a {% ifequal active_tab tab.slug %}class="active" {% endifequal %}href="{{ tab.url }}">{{ tab.caption }}</a>
+    <li class="nav-item"><a class="nav-link{% if active_tab == tab.slug %} active{% endif %}" href="{{ tab.url }}">{{ tab.caption }}</a></li>
 {% endfor %}