<div class="modetransport ui fluid stackable items">
{{ 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 %} #}
{% for key, choice_form in form.method %}
{% if app_is_available_payment(form.method.vars.choices[key].data.code) %}
{% include '@SyliusShop/Checkout/SelectPayment/_choice.html.twig' with {'form': choice_form, 'method': form.method.vars.choices[key].data} %}
{% endif %}
{% else %}
{% include '@SyliusShop/Checkout/SelectPayment/_unavailable.html.twig' %}
{% endfor %}
</div>