Check if symfony2 form has errors in a twig template

Posted January 16th, 2012 in Razno by Metod

Edit: The above way became deprecated in 2.1 and removed in 2.3. The new way: