mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 08:14:59 +00:00
Update template pathes to new syntax
This commit is contained in:
@@ -289,7 +289,7 @@ class CustomFieldChoice extends AbstractCustomField
|
||||
$choices[] = ['name' => $value['_other'], 'slug' => '_other'];
|
||||
}
|
||||
|
||||
$template = 'ChillCustomFieldsBundle:CustomFieldsRendering:choice.html.twig';
|
||||
$template = '@ChillCustomFields/CustomFieldsRendering/choice.html.twig';
|
||||
|
||||
if ('csv' === $documentType) {
|
||||
$template = 'ChillCustomFieldsBundle:CustomFieldsRendering:choice.csv.twig';
|
||||
|
@@ -90,7 +90,7 @@ class CustomFieldText extends AbstractCustomField
|
||||
|
||||
public function render($value, CustomField $customField, $documentType = 'html')
|
||||
{
|
||||
$template = 'ChillCustomFieldsBundle:CustomFieldsRendering:text.html.twig';
|
||||
$template = '@ChillCustomFields/CustomFieldsRendering/text.html.twig';
|
||||
|
||||
if ('csv' === $documentType) {
|
||||
$template = 'ChillCustomFieldsBundle:CustomFieldsRendering:text.csv.twig';
|
||||
|
@@ -82,7 +82,7 @@ class CustomFieldTitle extends AbstractCustomField
|
||||
{
|
||||
return $this->templating
|
||||
->render(
|
||||
'ChillCustomFieldsBundle:CustomFieldsRendering:title.html.twig',
|
||||
'@ChillCustomFields/CustomFieldsRendering/title.html.twig',
|
||||
[
|
||||
'title' => $customField->getName(),
|
||||
'type' => $customField->getOptions()[self::TYPE],
|
||||
|
Reference in New Issue
Block a user