{# @copyright   Copyright (C) 2010-2021 Combodo SARL #}
{# @license     http://opensource.org/licenses/AGPL-3.0 #}
{% extends "base/components/input/layout.html.twig" %}
{% block iboInput %}
    <select id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}"
            {% if oUIBlock.GetSubmitOnChange() %}onChange="this.form.submit();"{% endif %}
            class="{% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}"
    >
        {% for oSubBlock in oUIBlock.GetSubBlocks() %}
            {{ render_block(oSubBlock, {aPage: aPage}) }}
        {% endfor %}
    </select>
{% endblock %}