Added captcha image width and height as a configuration setting.

This commit is contained in:
Gregory McLean
2011-09-08 11:07:04 -04:00
parent 1afeeb8733
commit e2a705dda7
4 changed files with 43 additions and 14 deletions

View File

@ -1,4 +1,7 @@
{% block captcha_widget %}
<img src="{{ captcha_code }}" title="captcha" width="120" height="40" />
{% spaceless %}
<img src="{{ captcha_code }}" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />
{{ form_widget(form) }}
{% endspaceless %}
{% endblock %}