Use renderForm for proper return codes for turbo

This commit is contained in:
Jan Böhmer 2022-03-04 21:20:18 +01:00
parent 3a21c18ba9
commit ae24fb5eb1
7 changed files with 29 additions and 29 deletions

View file

@ -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,