Update template pathes to new syntax

This commit is contained in:
2023-10-02 13:56:22 +02:00
parent 294aaf5bed
commit bad302f512
13 changed files with 30 additions and 30 deletions

View File

@@ -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';