mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Use renderForm for proper return codes for turbo
This commit is contained in:
@@ -127,8 +127,8 @@ class LabelController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('LabelSystem/dialog.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
return $this->renderForm('LabelSystem/dialog.html.twig', [
|
||||
'form' => $form,
|
||||
'pdf_data' => $pdf_data,
|
||||
'filename' => $filename,
|
||||
'profile' => $profile,
|
||||
|
||||
Reference in New Issue
Block a user