From 0be6a8aef4b35932ecdcc70fd28a6d11bf47da4b Mon Sep 17 00:00:00 2001 From: Molkobain Date: Fri, 6 Aug 2021 17:01:09 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03592=20-=20Remove=20part=20of=20146a95ba?= =?UTF-8?q?e=20as=20it=20was=20unnecessary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/base/components/field/layout.html.twig | 4 +++- templates/base/components/input/layout.html.twig | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/base/components/field/layout.html.twig b/templates/base/components/field/layout.html.twig index 38480ca39..5d32a6f2d 100644 --- a/templates/base/components/field/layout.html.twig +++ b/templates/base/components/field/layout.html.twig @@ -25,7 +25,9 @@ >
{{ oUIBlock.GetLabel()|raw }}
- {% for oSubBlock in oUIBlock.GetSubBlocks() %}{{ render_block(oSubBlock, {aPage: aPage}) }} {% endfor %} + {% for oSubBlock in oUIBlock.GetSubBlocks() %} + {{ render_block(oSubBlock, {aPage: aPage}) }} + {% endfor %}
{% if oUIBlock.GetComments() %}
{{ oUIBlock.GetComments()|raw }}
diff --git a/templates/base/components/input/layout.html.twig b/templates/base/components/input/layout.html.twig index 1361a6abb..dc0eeb774 100644 --- a/templates/base/components/input/layout.html.twig +++ b/templates/base/components/input/layout.html.twig @@ -12,4 +12,5 @@ {% endfor %} {% endif %} {% if oUIBlock.GetPlaceHolder() %} placeholder="{{ oUIBlock.GetPlaceHolder() }}" {% endif %} - >{% endblock %} \ No newline at end of file + > +{% endblock %} \ No newline at end of file