parent
700d38e320
commit
e6d2fbc15e
1 changed files with 4 additions and 1 deletions
@ -1,5 +1,8 @@ |
|||||||
{% for cat in category_items %} |
{% for cat in category_items %} |
||||||
|
<a class="header__link" href="{% url 'courses' %}"> |
||||||
|
<div class="header__title">Все курсы</div> |
||||||
|
</a> |
||||||
<a class="header__link{% if category.0 == cat.title %} active{% endif %}" data-category-name="{{ cat.title }}" href="{% url 'courses' %}?category={{ cat.title }}"> |
<a class="header__link{% if category.0 == cat.title %} active{% endif %}" data-category-name="{{ cat.title }}" href="{% url 'courses' %}?category={{ cat.title }}"> |
||||||
<div class="header__title">{{ cat.title }}</div> |
<div class="header__title">{{ cat.title }}</div> |
||||||
</a> |
</a> |
||||||
{% endfor %} |
{% endfor %} |
||||||
|
|||||||
Loading…
Reference in new issue