Update path to twig template with new syntax

This commit is contained in:
2023-07-28 12:16:50 +02:00
parent 55b8502896
commit e839b03cc9
111 changed files with 220 additions and 223 deletions

View File

@@ -132,7 +132,7 @@ class EventController extends AbstractController
}
}
return $this->render('ChillEventBundle:Event:confirm_delete.html.twig', [
return $this->render('@ChillEvent/Event/confirm_delete.html.twig', [
'event_id' => $event->getId(),
'delete_form' => $form->createView(),
]);
@@ -157,7 +157,7 @@ class EventController extends AbstractController
$editForm = $this->createEditForm($entity);
return $this->render('ChillEventBundle:Event:edit.html.twig', [
return $this->render('@ChillEvent/Event/edit.html.twig', [
'entity' => $entity,
'edit_form' => $editForm->createView(),
]);
@@ -209,7 +209,7 @@ class EventController extends AbstractController
$addEventParticipationByPersonForm = $this->createAddEventParticipationByPersonForm($person);
return $this->render('ChillEventBundle:Event:listByPerson.html.twig', [
return $this->render('@ChillEvent/Event/listByPerson.html.twig', [
'participations' => $participations,
'person' => $person,
'paginator' => $paginator,
@@ -255,7 +255,7 @@ class EventController extends AbstractController
return $this->redirectToRoute('chill_event__event_show', ['event_id' => $entity->getId()]);
}
return $this->render('ChillEventBundle:Event:new.html.twig', [
return $this->render('@ChillEvent/Event/new.html.twig', [
'entity' => $entity,
'form' => $form->createView(),
]);
@@ -298,7 +298,7 @@ class EventController extends AbstractController
])
->getForm();
return $this->render('ChillEventBundle:Event:newPickCenter.html.twig', [
return $this->render('@ChillEvent/Event/newPickCenter.html.twig', [
'form' => $form->createView(),
]);
}
@@ -332,7 +332,7 @@ class EventController extends AbstractController
return $exportParticipationsList['response'];
}
return $this->render('ChillEventBundle:Event:show.html.twig', [
return $this->render('@ChillEvent/Event/show.html.twig', [
'event' => $event,
'form_add_participation_by_person' => $addParticipationByPersonForm->createView(),
'form_export' => $exportParticipationsList['form']->createView(),
@@ -366,7 +366,7 @@ class EventController extends AbstractController
return $this->redirectToRoute('chill_event__event_edit', ['event_id' => $event_id]);
}
return $this->render('ChillEventBundle:Event:edit.html.twig', [
return $this->render('@ChillEvent/Event/edit.html.twig', [
'entity' => $entity,
'edit_form' => $editForm->createView(),
]);