{# <div class="ui dividing header">{{ 'sylius.ui.shipment'|trans }} #{{ loop.index }}</div> #}
<div class="modetransport ui fluid stackable items" {{ sylius_test_html_attribute('shipments') }}>
{{ form_errors(form.method) }}
{% for key, choice_form in form.method %}
{% set fee = form.method.vars.shipping_costs[choice_form.vars.value] %}
{% set method = form.method.vars.choices[key].data %}
{% if method.code != 'EMAIL' %}
{% include '@SyliusShop/Checkout/SelectShipping/_choice.html.twig' with {'form': choice_form, 'method': method, 'fee': fee} %}
{% endif %}
{% else %}
{% include '@SyliusShop/Checkout/SelectShipping/_unavailable.html.twig' %}
{% endfor %}
</div>