Skip to content

Commit

Permalink
Remove spaceless from twig templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Lospitao committed Jan 13, 2025
1 parent 5e6c96f commit e1b33bb
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 e1b33bb

Please sign in to comment.