<fieldset class="scheduler-border">
    <legend class="scheduler-border">
        {{- 'Correspondance des champs' | trad -}}
    </legend>
    <section class="bs-row gutter-x-base">
        <div class="bs-col-half">
            {% for input in form |filter(input => input.type != 'GROUP') %}
                {{ formInput(input, subject, input.label) }}
                {% if loop.index == (loop.length / 2)|round %}
        </div>
        <div class="bs-col-half">
                {% endif %}
            {% endfor %}
        </div>
        <div class="bs-col-full">
            {% for countryCode, config in configTaxe %}
            <fieldset class="scheduler-border">
                <legend class="scheduler-border">
                    {{- strBuild(
                        'Correspondance des champs taxes pour @1@' | trad,
                        [ mapCountry[countryCode].LIBELLE ]
                    ) -}}
                </legend>
                <section class="bs-row gutter-x-base">
                    <div class="bs-col-half">
                        {% for input in form[ 'taxe|' ~ countryCode ].listChild %}
                            <div style="{{ input.label is empty ? 'display: none' }}">
                                {{ formInput(input, subject, input.label) }}
                            </div>
                            {% if loop.index == (loop.length / 2)|round %}
                    </div>
                    <div class="bs-col-half">
                            {% endif %}
                        {% endfor %}
                    </div>
                </section>
            </fieldset>
            {% endfor %}
        </div>
    </section>
</fieldset>