{% if oUIBlock.GetSubBlocks() %}
    <fieldset class="ibo-fieldset{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}" id="{{ oUIBlock.GetId() }}">
        <legend class="ibo-fieldset-legend">{{ oUIBlock.GetLegend()| raw }}</legend>
        {% for oSubBlock in oUIBlock.GetSubBlocks() %}
            {{ render_block(oSubBlock, {aPage: aPage}) }}
        {% endfor %}
    </fieldset>
{% endif %}