Refactor templates to be more structured

This commit is contained in:
Tim
2023-12-23 23:56:18 +01:00
parent be5e457d1b
commit a5619e2307
15 changed files with 46 additions and 45 deletions

View File

@ -132,7 +132,7 @@ class SnipController extends AbstractController
return $this->redirectToRoute('snip_index');
}
return $this->render('form.html.twig', [
return $this->render('generic/form.html.twig', [
'message' => sprintf('Do you really want to delete "%s"?', $snip),
'form' => $form->createView(),
]);