{% if form_action == 'manager_sf_add' %} {{ form_start(form, {'attr': {'class': 'form-horizontal', 'action': path(form_action)}}) }} {% else %} {{ form_start(form, {'attr': {'class': 'form-horizontal'}}) }}{#Quand le formulaire est en mode EDIT, il ne faut pas ajouter 'action', cela perturbe le contrôleur#} {% endif %}
{{ form_widget(form.nameEn, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.NameEn' | trans}}"}}) }} {{ form_label(form.nameEn, 'Form.NameEn' | trans) }}
{{ form_widget(form.nameFr, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.NameFr' | trans}}"}}) }} {{ form_label(form.nameFr, 'Form.NameFr' | trans) }}
{{ form_widget(form.namePt, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.NamePt' | trans}}"}}) }} {{ form_label(form.namePt, 'Form.NamePt' | trans) }}
{{ form_widget(form.nameAr, {'attr': {'class': 'form-control', 'placeholder':"{{'Form.NameAr' | trans}}"}}) }} {{ form_label(form.nameAr, 'Form.NameAr' | trans) }}
{{ form_widget(form.parent, {'attr': {'class': 'form-control form-select', 'placeholder':"{{'Form.Geo.Parent'|trans}}"}}) }} {{ form_label(form.parent, 'Form.Geo.Parent' | trans) }}
{{ form_widget(form.storageFileList, {'attr': {'class': 'form-control form-select', 'placeholder':"{{'Form.SF.Assign'|trans}}"}}) }} {{ form_label(form.storageFileList, 'Form.SF.Assign' | trans) }}
{{'Form.SF.Statut' | trans}}
{% for t in form.statut %} {{ form_widget(t, {'attr': {'class': ''}}) }} {{ form_label(t) }} {% endfor %}
{{ form_label(form.logoFile, 'Form.Cadre.Logo' | trans) }} {{ form_widget(form.logoFile, {'attr': {'class': 'form-control'}}) }}
{{ form_widget(form.description, {'attr': {'class': 'form-control', 'row':'1', 'placeholder':"{{'Form.Description'|trans}}"}}) }} {{ form_label(form.description, 'Form.Description' | trans) }}
{{ form_rest(form) }} {{ form_end(form) }}