mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Use renderForm for proper return codes for turbo
This commit is contained in:
parent
3a21c18ba9
commit
ae24fb5eb1
7 changed files with 29 additions and 29 deletions
|
@ -72,8 +72,8 @@ class ScanController extends AbstractController
|
|||
}
|
||||
}
|
||||
|
||||
return $this->render('LabelSystem/Scanner/dialog.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
return $this->renderForm('LabelSystem/Scanner/dialog.html.twig', [
|
||||
'form' => $form,
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue