themes/webapicTheme/templates/bundles/SyliusShopBundle/Checkout/SelectShipping/_shipment.html.twig line 1

Open in your IDE?
  1.     {# <div class="ui dividing header">{{ 'sylius.ui.shipment'|trans }} #{{ loop.index }}</div> #}
  2.     <div class="modetransport ui fluid stackable items" {{ sylius_test_html_attribute('shipments') }}>
  3.         {{ form_errors(form.method) }}
  4.         {% for key, choice_form in form.method %}
  5.             
  6.             {% set fee = form.method.vars.shipping_costs[choice_form.vars.value] %}
  7.             {% set method = form.method.vars.choices[key].data %}
  8.             {% if method.code != 'EMAIL' %}
  9.                  {% include '@SyliusShop/Checkout/SelectShipping/_choice.html.twig' with {'form': choice_form, 'method': method, 'fee': fee} %}
  10.             {% endif %}
  11.         {% else %}
  12.             {% include '@SyliusShop/Checkout/SelectShipping/_unavailable.html.twig' %}
  13.         {% endfor %}
  14.     </div>