Commit 2aeff919 authored by Mat's avatar Mat

correction dans updateAction

parent a1fb9e5f
......@@ -81,7 +81,7 @@ class MembreAPIController extends MasterAPIController
throw $this->api('Not found', Response::HTTP_NOT_FOUND);
}
$form = $this->createForm(membreAPIBundle::class, $membre);
$form = $this->createForm(MembreAPIType::class, $membre);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
......
......@@ -306,6 +306,7 @@
{
reloadTableMembre(paginate);
form.parentNode.classList.add('hidden');
alert("La saisie a bien été enregistrée.");
},
form);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment