<div class="checkout-payment-list">
    <h4>{{ 'sylius.ui.payment'|trans }} #{{ loop.index }}</h4>
    <hr>
    {{ form_errors(form.method) }}

    {% for key, choice_form in form.method %}
        {% include '@SyliusShop/Checkout/SelectPayment/_choice.html.twig' with {'form': choice_form, 'method': form.method.vars.choices[key].data} %}
    {% else %}
        {% include '@SyliusShop/Checkout/SelectPayment/_unavailable.html.twig' %}
    {% endfor %}
</div>
