From 5e8a117f4eb489af7d1c6df9a7714a8e772186f7 Mon Sep 17 00:00:00 2001 From: johan Vlaar Date: Wed, 4 Sep 2024 09:54:00 +0200 Subject: [PATCH] fix(deprecation): remove deprecated spaceless filter --- .../views/Form/form_div_layout.html.twig | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/Resources/views/Form/form_div_layout.html.twig b/Resources/views/Form/form_div_layout.html.twig index db4cce224..15c1dab86 100644 --- a/Resources/views/Form/form_div_layout.html.twig +++ b/Resources/views/Form/form_div_layout.html.twig @@ -1,19 +1,17 @@ {% block liip_imagine_image_widget %} - {% apply spaceless %} - {% if image_path %} -
- {% if link_url %} - - {% endif %} + {% if image_path %} +
+ {% if link_url %} + + {% endif %} - + - {% if link_url %} - - {% endif %} -
- {% endif %} + {% if link_url %} + + {% endif %} +
+ {% endif %} - {{ block('form_widget_simple') }} - {% endapply %} + {{ block('form_widget_simple') }} {% endblock %}