Removed deprecated spaceless tag

This commit is contained in:
Adam Wójs 2019-09-22 13:59:41 +02:00
parent be1ce45060
commit 25de43ac90
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
{% if is_human %}
-
{% else %}
{% spaceless %}
{% apply spaceless %}
<img class="captcha_image" id="{{ image_id }}" src="{{ captcha_code }}" alt="" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />
{% if reload %}
<script type="text/javascript">
@ -14,6 +14,6 @@
<a class="captcha_reload" href="javascript:reload_{{ image_id }}();">{{ 'Renew'|trans({}, 'gregwar_captcha') }}</a>
{% endif %}
{{ form_widget(form) }}
{% endspaceless %}
{% endapply %}
{% endif %}
{% endblock %}

View File

@ -20,7 +20,8 @@
"php": ">=5.3.9",
"gregwar/captcha": "~1.1",
"symfony/framework-bundle": "~2.8|~3.0|~4.0",
"symfony/form": "~2.8|~3.0|~4.0"
"symfony/form": "~2.8|~3.0|~4.0",
"twig/twig": "^1.40|^2.9"
},
"autoload": {
"psr-4": {