mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +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
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue