{% import '_includes/macros/status.html.twig' as statusTools %} {{ form_start(form, {attr: {class: 'ajax-form'}}) }} <div class="row"> <div class="col-4"> <div> {{ form_label(form.name, 'Nom', {label_attr: {class: 'input-text-label'}}) }} {{ form_widget(form.name, {attr: {class: 'w-100'}}) }} </div> <div> {{ form_label(form.status, 'Status', {label_attr: {class: 'input-text-label'}}) }} {{ form_widget(form.status, {attr: {class: 'w-100'}}) }} </div> <div> {{ form_label(form.actor, 'Acteur', {label_attr: {class: 'input-text-label'}}) }} {{ form_widget(form.actor, {attr: {class: 'w-100'}}) }} </div> </div> <div class="col-4"> <div> {{ form_label(form.startDate, 'Début planifié', {label_attr: {class: 'input-text-label'}}) }} {{ form_widget(form.startDate, {attr: {class: 'w-100'}}) }} </div> <div> {{ form_label(form.realStartDate, 'Début réel', {label_attr: {class: 'input-text-label'}}) }} {{ form_widget(form.realStartDate, {attr: {class: 'w-100'}}) }} </div> </div> <div class="col-4"> <div> {{ form_label(form.endDate, 'Fin planifié', {label_attr: {class: 'input-text-label'}}) }} {{ form_widget(form.endDate, {attr: {class: 'w-100'}}) }} </div> <div> {{ form_label(form.realEndDate, 'Fin réelle', {label_attr: {class: 'input-text-label'}}) }} {{ form_widget(form.realEndDate, {attr: {class: 'w-100'}}) }} </div> </div> </div> {{ form_widget(form.submit, {attr: {class: 'w-100'}, label: 'Enregistrer'}) }} <p class="form-error"></p> <p class="form-message"></p> {{ form_end(form) }}