wcs: fix "forms of category" cell to directly start with its title (#28917)

This commit is contained in:
Frédéric Péters 2018-12-11 20:07:10 +01:00
parent 51659bcd7c
commit 6ff6101d8d
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{% load assets i18n %}
{% block cell-content %}
<div class="wcs-forms-of-category-{{slug}}">
{% block cell-header %}
<h2>{{ title }}</h2>
{% get_asset "wcs:category:picture:"|add:cell.category_reference as asset %}
@ -15,6 +15,8 @@
</div>
{% endif %}
{% endblock %}
<div class="wcs-forms-of-category-{{slug}}">
<ul>
{% for form in forms %}
<li class="{% if form.authentication_required %}required-authentication{% endif %}