{# templates/app/commandes/form.html.twig #} {% extends 'app/base.html.twig' %} {% set is_edit = commande and commande.id is defined %} {% block title %}{{ is_edit ? 'Modifier la commande' : 'Nouvelle commande' }} — GestRestoSco{% endblock %} {% block body %}