Commit 0ddc98a6 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Le form ne se chargeait plus

parent 3c173656
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Application/src/Controller/OffreFormation/ElementPedagogiqueController.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ use Application\Service\Traits\ContextServiceAwareTrait;
use Application\Service\Traits\StructureServiceAwareTrait;
use Application\Service\Traits\VolumeHoraireEnsServiceAwareTrait;
use UnicaenImport\Service\Traits\SchemaServiceAwareTrait;

/**
 * Description of ElementPedagogiqueController
 *
@@ -307,7 +308,7 @@ class ElementPedagogiqueController extends AbstractController

        $form->setElementPedagogique($element);
        $form->setAttribute('action', $this->url()->fromRoute('of/element/modulateurs-centres-couts', ['elementPedagogique' => $element->getId()]));
        $form->build();
        $form->buildElements();

        return [
            'form' => $form,