Added the possibility of overriding the width & height in the options

This commit is contained in:
Gregwar
2011-09-09 19:46:12 +02:00
parent 959cf84805
commit ab882512f1
2 changed files with 24 additions and 11 deletions

View File

@ -3,6 +3,6 @@ services:
# captcha type
captcha.type:
class: Gregwar\CaptchaBundle\Type\CaptchaType
arguments: [@session, @service_container]
arguments: [@session, %gregwar_captcha.image.width%, %gregwar_captcha.image.height%]
tags:
- { name: form.type, alias: captcha }