Another option is to explicitly mark the field as rendered:
{% do form.contenu.setRendered %}
More Related Contents:
- How to get the value from and save to Database in php
- Decoding JSON in Twig
- How to access dynamic variable names in twig?
- Use Javascript to access a variable passed through Twig
- How to display string that contains HTML in twig template?
- Accessing session from TWIG template
- The CSRF token is invalid. Please try to resubmit the form
- Compile Error: Cannot use isset() on the result of an expression
- How to set a class attribute to a Symfony2 form input
- What is the best way to notify a user after an access_control rule redirects?
- How to render a DateTime object in a Twig template
- How can I use break or continue within for loop in Twig template?
- Set value of single object in multidimensional array in twig template
- Symfony 2 load different template depending on user agent properties
- Use custom delimiters in the current Twig template
- How to render content from string/database with twig? [duplicate]
- do not include AcmeDemoBundle using symfony installer
- Symfony 3, Guard & Handlers
- Understanding the “post/redirect/get” pattern
- Is there a built-in way to get all of the changed/updated fields in a Doctrine 2 entity
- Symfony2 – Force file download
- Form input field names containing square brackets like field[index]
- How to add a delete button to a PHP form that will delete a row from a MySQL table
- getting a checkbox array value from POST
- Injecting SecurityContext into a Listener prePersist or preUpdate in Symfony2 to get User in a createdBy or updatedBy Causes Circular Reference Error
- PHP File Upload
- Print $_POST variable name along with value
- PDOException “could not find driver” in php
- HTML form PHP post to self to validate or submit to new page
- How to access a different controller from inside a controller Symfony2