{% extends 'layout_admin.html.twig' %} {% block content %} {% if app.environment == 'dev' %} {{ form_start(form, {'action': path('admin_offre_update', { 'offre': entity.id }), 'method': 'POST', 'attr': {'novalidate': 'novalidate'} }) }} {% else %} {{ form_start(form, {'action': path('admin_offre_update', { 'offre': entity.id }), 'method': 'POST'}) }} {% endif %}