{% set form = hookable_metadata.context.form %}
{{ 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 %}
{% else %} {% hook 'choice#unavailable' %} {% endfor %}