mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
Update path to twig template with new syntax
This commit is contained in:
@@ -197,7 +197,7 @@ class ParticipationController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/new.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -238,7 +238,7 @@ class ParticipationController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/new.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -284,7 +284,7 @@ class ParticipationController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:confirm_delete.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/confirm_delete.html.twig', [
|
||||
'event_id' => $event->getId(),
|
||||
'delete_form' => $form->createView(),
|
||||
]);
|
||||
@@ -315,7 +315,7 @@ class ParticipationController extends AbstractController
|
||||
|
||||
$form = $this->createEditForm($participation);
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -369,7 +369,7 @@ class ParticipationController extends AbstractController
|
||||
|
||||
$form = $this->createEditFormMultiple($event->getParticipations(), $event);
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit-multiple.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit-multiple.html.twig', [
|
||||
'event' => $event,
|
||||
'participations' => $event->getParticipations(),
|
||||
'form' => $form->createView(),
|
||||
@@ -452,7 +452,7 @@ class ParticipationController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -495,7 +495,7 @@ class ParticipationController extends AbstractController
|
||||
);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit-multiple.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit-multiple.html.twig', [
|
||||
'event' => $event,
|
||||
'participations' => $event->getParticipations(),
|
||||
'form' => $form->createView(),
|
||||
@@ -677,7 +677,7 @@ class ParticipationController extends AbstractController
|
||||
$form = $this->createCreateFormMultiple($newParticipations);
|
||||
|
||||
return $this->render(
|
||||
'ChillEventBundle:Participation:new-multiple.html.twig',
|
||||
'@ChillEvent/Participation/new-multiple.html.twig',
|
||||
[
|
||||
'form' => $form->createView(),
|
||||
'participations' => $newParticipations,
|
||||
@@ -690,7 +690,7 @@ class ParticipationController extends AbstractController
|
||||
$form = $this->createCreateForm($participation);
|
||||
|
||||
return $this->render(
|
||||
'ChillEventBundle:Participation:new.html.twig',
|
||||
'@ChillEvent/Participation/new.html.twig',
|
||||
[
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
@@ -719,7 +719,7 @@ class ParticipationController extends AbstractController
|
||||
|
||||
$form = $this->createCreateForm($participation, $returnPath);
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/new.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
'ignored_participations' => [], // this is required, see self::newMultiple
|
||||
|
Reference in New Issue
Block a user