mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 22:15:36 +01:00
Use renderForm for proper return codes for turbo
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user