twigphp / Twig

Twig, the flexible, fast, and secure template language for PHP
https://twig.symfony.com/
BSD 3-Clause "New" or "Revised" License
8.15k stars 1.25k forks source link

applying form_start or form_end on a form #2004

Closed sdmg15 closed 8 years ago

sdmg15 commented 8 years ago

Hi, I remark that went you start a form with form_start(myForm) and start processing it without closing it with form_end(myForm) , it doesn't display any error and for that, we are not informed about what is happen why this ?

Tobion commented 8 years ago

form_start just renders the form start tag. No errors or fields. form_end renders all the stuff that has not been rendered yet. I refer you to the symfony form doc. Also this is about symfony, not twig: https://github.com/symfony/symfony