From 293613fc169be02b206029560ff9c6dc417db46b Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Wed, 14 Dec 2022 10:01:59 +0100 Subject: [PATCH] fix funnel form theme path --- docs/OutputWorkflow/Funnel/10_FunnelLayer.md | 4 ++-- .../views/funnel/layer/simple_layout_layer.html.twig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/OutputWorkflow/Funnel/10_FunnelLayer.md b/docs/OutputWorkflow/Funnel/10_FunnelLayer.md index d9c52b0c..be889b68 100644 --- a/docs/OutputWorkflow/Funnel/10_FunnelLayer.md +++ b/docs/OutputWorkflow/Funnel/10_FunnelLayer.md @@ -134,8 +134,8 @@ Formbuilder.extjs.formPanel.outputWorkflow.funnelLayer.dummyLayer = Class.create #### Twig Partial ```twig -{% if formTheme is not null %} - {% form_theme form with (formTheme ~ '.html.twig') only %} +{% if formThemePath is not null %} + {% form_theme form formThemePath %} {% endif %} {% block funnel_content %} diff --git a/src/FormBuilderBundle/Resources/views/funnel/layer/simple_layout_layer.html.twig b/src/FormBuilderBundle/Resources/views/funnel/layer/simple_layout_layer.html.twig index 03b4c0b9..cdb7a7fd 100644 --- a/src/FormBuilderBundle/Resources/views/funnel/layer/simple_layout_layer.html.twig +++ b/src/FormBuilderBundle/Resources/views/funnel/layer/simple_layout_layer.html.twig @@ -1,5 +1,5 @@ -{% if formTheme is not null %} - {% form_theme form with [formTheme ~ '.html.twig'] only %} +{% if formThemePath is not null %} + {% form_theme form formThemePath %} {% endif %} {% block funnel_content %}