mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Update template pathes to new syntax
This commit is contained in:
@@ -63,7 +63,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
$this->addFlash('error', $this->translator
|
||||
->trans('The custom fields group form contains errors'));
|
||||
|
||||
return $this->render('ChillCustomFieldsBundle:CustomFieldsGroup:new.html.twig', [
|
||||
return $this->render('@ChillCustomFields/CustomFieldsGroup/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -85,7 +85,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
|
||||
$editForm = $this->createEditForm($entity);
|
||||
|
||||
return $this->render('ChillCustomFieldsBundle:CustomFieldsGroup:edit.html.twig', [
|
||||
return $this->render('@ChillCustomFields/CustomFieldsGroup/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
]);
|
||||
@@ -111,7 +111,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('ChillCustomFieldsBundle:CustomFieldsGroup:index.html.twig', [
|
||||
return $this->render('@ChillCustomFields/CustomFieldsGroup/index.html.twig', [
|
||||
'entities' => $cfGroups,
|
||||
'default_groups' => $defaultGroups,
|
||||
'make_default_forms' => $makeDefaultFormViews,
|
||||
@@ -174,7 +174,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
$entity = new CustomFieldsGroup();
|
||||
$form = $this->createCreateForm($entity);
|
||||
|
||||
return $this->render('ChillCustomFieldsBundle:CustomFieldsGroup:new.html.twig', [
|
||||
return $this->render('@ChillCustomFields/CustomFieldsGroup/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -213,7 +213,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
|
||||
if ($form->isSubmitted()) {
|
||||
if ($form->get('submit_render')->isClicked()) {
|
||||
return $this->render('ChillCustomFieldsBundle:CustomFieldsGroup:render_for_test.html.twig', [
|
||||
return $this->render('@ChillCustomFields/CustomFieldsGroup/render_for_test.html.twig', [
|
||||
'fields' => $form->getData(),
|
||||
'customFieldsGroup' => $entity,
|
||||
]);
|
||||
@@ -247,7 +247,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
|
||||
$options = $this->getOptionsAvailable($entity->getEntity());
|
||||
|
||||
return $this->render('ChillCustomFieldsBundle:CustomFieldsGroup:show.html.twig', [
|
||||
return $this->render('@ChillCustomFields/CustomFieldsGroup/show.html.twig', [
|
||||
'entity' => $entity,
|
||||
'create_field_form' => $this->createCreateFieldForm($entity)->createView(),
|
||||
'options' => $options,
|
||||
@@ -284,7 +284,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
$this->addFlash('error', $this->translator
|
||||
->trans('The custom fields group form contains errors'));
|
||||
|
||||
return $this->render('ChillCustomFieldsBundle:CustomFieldsGroup:edit.html.twig', [
|
||||
return $this->render('@ChillCustomFields/CustomFieldsGroup/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
]);
|
||||
|
Reference in New Issue
Block a user