IoFormBundle icon indicating copy to clipboard operation
IoFormBundle copied to clipboard

Variable "date_format" does not exist

Open stephanecollot opened this issue 13 years ago • 1 comments

Hello

I try to use this bundle with Symfony 2.1.4 : ->add('date', 'jquery_date', array( 'format' => 'd/MM/y'))

But I have an error : Variable "date_format" does not exist in IoFormBundle:Form:fields.html.twig at line 130 500 Internal Server Error - Twig_Error_Runtime

Does anyone have an idea?

PS: Is there someone who can make the compatibility with Symfony 2.1 and the installation with composer.json ? ;)

stephanecollot avatar Dec 15 '12 21:12 stephanecollot

I Solved my error with this commit : https://github.com/El-Profesor/IoFormBundle/tree/ee767716d59b3c9d10164ed1184c388d698db5d0

stephanecollot avatar Dec 15 '12 22:12 stephanecollot