How to make form_rest() not display a field with Symfony2?

Another option is to explicitly mark the field as rendered:

{% do form.contenu.setRendered %}

Leave a Comment