If you are new to Symfony2, you might come to a point where you want to customize the form error class. By default, all the form errors will be shown using a list which does not have any css class assigned to it.
To make the error message stand out, i need to add a css class to it and style the form error to be red color. Thanks to twig template, where i can easily extend the template to what i need.
How to customize form error in Symfony 2.6?
Continue reading Symfony2: How to customize form error class in twig? »