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>
|
<h3{{ title_attributes }}>{{ title }}</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for row in rows %}
|
{% for row in rows %}
|
||||||
|
{% if row.attributes|render %}
|
||||||
<div{{ row.attributes }}>
|
<div{{ row.attributes }}>
|
||||||
|
{% endif %}
|
||||||
{{ row.content }}
|
{{ row.content }}
|
||||||
|
{% if row.attributes|render %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue