In a horrendous hack, only print div if any classes/attributes to go on it
This commit is contained in:
parent
0cacaf0002
commit
ce002857f7
1 changed files with 6 additions and 2 deletions
|
@ -190,7 +190,11 @@
|
|||
<h3{{ title_attributes }}>{{ title }}</h3>
|
||||
{% endif %}
|
||||
{% for row in rows %}
|
||||
<div{{ row.attributes }}>
|
||||
{% if row.attributes|render %}
|
||||
<div{{ row.attributes }}>
|
||||
{% endif %}
|
||||
{{ row.content }}
|
||||
</div>
|
||||
{% if row.attributes|render %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue