parent
411a62be64
commit
015f2defe3
7 changed files with 16 additions and 8 deletions
@ -1,5 +1,5 @@ |
|||||||
{% for cat in category_items %} |
{% for cat in category_items %} |
||||||
<div class="select__option js-select-option" data-category-option data-category-url="{% url 'courses' %}?category={{ cat.title }}"> |
<div class="select__option js-select-option{% if category and category.0 == cat.title %} active{% endif %}" data-category-option data-category-url="{% url 'courses' %}?category={{ cat.title }}"> |
||||||
<div class="select__title">{{ cat.title }}</div> |
<div class="select__title">{{ cat.title }}</div> |
||||||
</div> |
</div> |
||||||
{% endfor %} |
{% endfor %} |
||||||
Loading…
Reference in new issue