{{ form_start(formEntity, {'action': path('portal-edit-computer', {id: item.getId()}), 'method': 'POST'}) }}
{{ form_end(formEntity) }}
{% trans %}computer{% 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%}
{%endif%}
{{ form_widget(formEntity.country) }}
{{ form_widget(formEntity.label) }}
{{ form_widget(formEntity.number) }}
{{ form_widget(formEntity.description) }}