0003-cells-add-block-in-forms_of_category.html-to-make-cu.patch
combo/apps/wcs/templates/combo/wcs/forms_of_category.html | ||
---|---|---|
1 | 1 |
{% load assets i18n %} |
2 | 2 |
{% block cell-content %} |
3 | ||
4 |
{% block cell-header %} |
|
5 | 3 |
{% if forms or combo_display_even_empty_categories %} |
4 |
{% block cell-header %} |
|
6 | 5 |
<h2>{{ title }}</h2> |
7 | 6 |
{% include "combo/asset_picture_fragment.html" %} |
8 | 7 |
{% if description %} |
... | ... | |
10 | 9 |
{{ description|safe }} |
11 | 10 |
</div> |
12 | 11 |
{% endif %} |
13 |
{% endif %} |
|
14 | 12 |
{% endblock %} |
15 | 13 | |
16 |
{% if forms or combo_display_even_empty_categories %} |
|
17 | 14 |
<div class="wcs-forms-of-category-{{slug}}"> |
15 |
{% block cell-top-content %}{% endblock cell-top-content %} |
|
18 | 16 |
<ul> |
19 | 17 |
{% for form in forms %} |
20 | 18 |
<li class="{{ form.css_classes|join:" " }}" |
21 |
- |