Skip to content

Commit 646cbed

Browse files
authored
Merge pull request #216 from Prometee/twig-spaceless
[TWIG] The spaceless tag is deprecated use filter instead
2 parents 8e01c38 + 4637109 commit 646cbed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Resources/views/Form/imagesTheme.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends '@SyliusUi/Form/imagesTheme.html.twig' %}
22

33
{% block loevgaard_sylius_brand_brand_image_widget %}
4-
{% spaceless %}
4+
{% apply spaceless %}
55
<div class="ui upload box segment">
66
{{ form_row(form.type) }}
77
{% if form.vars.value.path|default(null) is null %}
@@ -17,5 +17,5 @@
1717
{{- form_errors(form.file) -}}
1818
</div>
1919
</div>
20-
{% endspaceless %}
20+
{% endapply %}
2121
{% endblock %}

0 commit comments

Comments
 (0)