Skip to content

Commit

Permalink
Fixed Twig spaceless tag
Browse files Browse the repository at this point in the history
Note: deprecated since Twig 2.7
  • Loading branch information
excelwebzone committed Jul 5, 2019
1 parent 0ab8775 commit f526d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/views/Form/ewz_recaptcha_widget.html.twig
@@ -1,5 +1,5 @@
{% block ewz_recaptcha_widget %}
{% spaceless %}
{% apply spaceless %}
{% if form.vars.ewz_recaptcha_enabled %}
{% if not form.vars.ewz_recaptcha_ajax %}
{% if attr.options.size == 'invisible' and attr.options.callback is not defined %}
Expand Down Expand Up @@ -79,6 +79,6 @@
</script>
{% endif %}
{% endif %}
{% endspaceless %}
{% endapply %}
{% endblock ewz_recaptcha_widget %}

0 comments on commit f526d30

Please sign in to comment.