{% if form_action == 'data_anom_add' %} {{ form_start(form, {'attr': {'class': 'form-horizontal', 'action': path(form_action)}}) }} {% else %} {{ form_start(form, {'attr': {'class': 'form-horizontal'}}) }} {% endif %}
{{ form_widget(form.module, {'attr': {'class': 'form-control form-select', 'placeholder':"{{'Form.Anomalie.Module.Label' | trans}}"}}) }} {{ form_label(form.module, 'Form.Anomalie.Module.Label' | trans) }}
{{ form_widget(form.statut, {'attr': {'class': 'form-control form-select', 'placeholder':"{{'Form.Anomalie.Statut.Label' | trans}}"}}) }} {{ form_label(form.statut, 'Form.Anomalie.Statut.Label' | trans) }}
{% for t in form.gravity %} {{ form_widget(t, {'attr': {'class': ''}}) }} {{ form_label(t) }} {% endfor %}
{{ form_widget(form.description, {'attr': {'class': 'form-control', 'row':'1', 'placeholder':"{{'Form.Anomalie.Description' | trans}}"}}) }} {{ form_label(form.description, 'Form.Anomalie.Description' | trans) }}
{{ form_widget(form.solution, {'attr': {'class': 'form-control', 'row':'1', 'placeholder':"{{'Form.Anomalie.Solution' | trans}}"}}) }} {{ form_label(form.solution, 'Form.Anomalie.Solution' | trans) }}
{{ form_widget(form.attachFile, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.attachFile) }} {{ form_help(form.attachFile) }}
{{ form_rest(form) }} {{ form_end(form) }}