N°988 - Backoffice: Hide empty fieldsets in object details

This commit is contained in:
Eric
2020-09-29 14:21:01 +02:00
parent 3dc7b66f6f
commit 11a79501da

View File

@@ -1,7 +1,9 @@
{% if oUIBlock.GetSubBlocks() %}
<fieldset class="ibo-fieldset">
<legend class="ibo-fieldset-legend">{{ oUIBlock.GetLegend() }}</legend>
<hr class="ibo-fieldset-legend-separator">
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
{{ render_block(oSubBlock, {aPage: aPage}) }}
{% endfor %}
</fieldset>
</fieldset>
{% endif %}