Removed deprecated spaceless tag
This commit is contained in:
parent
be1ce45060
commit
25de43ac90
|
@ -2,7 +2,7 @@
|
||||||
{% if is_human %}
|
{% if is_human %}
|
||||||
-
|
-
|
||||||
{% else %}
|
{% else %}
|
||||||
{% spaceless %}
|
{% apply spaceless %}
|
||||||
<img class="captcha_image" id="{{ image_id }}" src="{{ captcha_code }}" alt="" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />
|
<img class="captcha_image" id="{{ image_id }}" src="{{ captcha_code }}" alt="" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />
|
||||||
{% if reload %}
|
{% if reload %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -14,6 +14,6 @@
|
||||||
<a class="captcha_reload" href="javascript:reload_{{ image_id }}();">{{ 'Renew'|trans({}, 'gregwar_captcha') }}</a>
|
<a class="captcha_reload" href="javascript:reload_{{ image_id }}();">{{ 'Renew'|trans({}, 'gregwar_captcha') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ form_widget(form) }}
|
{{ form_widget(form) }}
|
||||||
{% endspaceless %}
|
{% endapply %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
"php": ">=5.3.9",
|
"php": ">=5.3.9",
|
||||||
"gregwar/captcha": "~1.1",
|
"gregwar/captcha": "~1.1",
|
||||||
"symfony/framework-bundle": "~2.8|~3.0|~4.0",
|
"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": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|
Loading…
Reference in New Issue