Adding option "humanity" (fixes #40)

This commit is contained in:
Gregwar
2012-12-04 12:20:23 +01:00
parent 3794a12e80
commit 11fe650bde
5 changed files with 40 additions and 2 deletions

View File

@ -1,7 +1,11 @@
{% block captcha_widget %}
{% if is_human %}
-
{% else %}
{% spaceless %}
<img src="{{ captcha_code }}" alt="" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />
{{ form_widget(form) }}
{% endspaceless %}
{% endif %}
{% endblock %}