{% extends 'base.html.twig' %} {% block title %}Affaire - James Gestion de Production{% endblock %} {% block body %}

Modification {{affaire.nomChantier}}

{{ form_start(form) }} {{ form_errors(form) }} {# Affiche les erreurs générales du formulaire #}
{{ form_row(form.nomChantier, {'attr': {'class': 'form-control'}}) }}
{{ form_row(form.dateMiseDispo, {'attr': {'class': 'form-control'}}) }}
{{ form_row(form.numeroSemainePlanification, {'attr': {'class': 'form-control'}}) }}
       Retour {{ form_end(form) }}
{{ render(controller('App\\Controller\\DetailAffaireController::listeDetailParAffaire', { 'id': affaire.id })) }} {% endblock %}