Skip to content

Commit

Permalink
Merge pull request #311 from Access-by-eventwo/issue-5469-remove-spac…
Browse files Browse the repository at this point in the history
…eless-tag-in-templates

Resolve Twig Filter "spaceless" is deprecated
  • Loading branch information
excelwebzone authored Jan 14, 2025
2 parents 5e6c96f + e1b33bb commit c35dd45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Resources/views/Form/ewz_recaptcha_widget.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% block ewz_recaptcha_widget %}
{% 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 +78,5 @@
</script>
{% endif %}
{% endif %}
{% endapply %}
{% endblock ewz_recaptcha_widget %}

2 changes: 0 additions & 2 deletions src/Resources/views/Form/v3/ewz_recaptcha_widget.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% block ewz_recaptcha_widget %}
{% apply spaceless %}
{% if form.vars.ewz_recaptcha_enabled %}
<script src="{{ form.vars.ewz_recaptcha_api_uri }}?render={{ form.vars.public_key }}"></script>

Expand All @@ -25,5 +24,4 @@
}, false);
</script>
{% endif %}
{% endapply %}
{% endblock %}

0 comments on commit c35dd45

Please sign in to comment.