{{ form_start(formEntity, {'action': path('portal-edit-country', {id: item.getId()}), 'method': 'POST'}) }}
{{ form_end(formEntity) }}
{% trans %}country{% endtrans %}
{% if not formEntity.vars.valid %}
{# Loop through every form item #}
{% for child in formEntity.children %}
{# Display the errors of the form item #}
{%for error in child.vars.errors%}
{{error.message}}
{%endfor%}
{%endfor%}
{% for error in errors %}
{{error}}
{%endfor%}
{%endif%}
{{ form_widget(formEntity.label) }}
{{ form_widget(formEntity.iso) }}