parent
78a4826dfb
commit
df9e25072a
2 changed files with 4 additions and 4 deletions
@ -1,5 +1,5 @@ |
||||
{% for category in category_items %} |
||||
<a class="header__link" href="{% url 'courses' %}?category={{ category.title }}"> |
||||
<div class="header__title">{{ category.title }}</div> |
||||
{% for cat in category_items %} |
||||
<a class="header__link{% if category.0 == cat.title %} active{% endif %}" href="{% url 'courses' %}?category={{ cat.title }}"> |
||||
<div class="header__title">{{ cat.title }}</div> |
||||
</a> |
||||
{% endfor %} |
||||
Loading…
Reference in new issue