cells: add block in forms_of_category.html to make customization easier (#40883)

This commit is contained in:
Lauréline Guérin 2020-04-23 10:32:41 +02:00
parent 757db7d37b
commit c41b41de72
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,7 @@
{% load assets i18n %}
{% block cell-content %}
{% block cell-header %}
{% if forms or combo_display_even_empty_categories %}
{% block cell-header %}
<h2>{{ title }}</h2>
{% include "combo/asset_picture_fragment.html" %}
{% if description %}
@ -10,11 +9,10 @@
{{ description|safe }}
</div>
{% endif %}
{% endif %}
{% endblock %}
{% if forms or combo_display_even_empty_categories %}
<div class="wcs-forms-of-category-{{slug}}">
{% block cell-top-content %}{% endblock cell-top-content %}
<ul>
{% for form in forms %}
<li class="{{ form.css_classes|join:" " }}"