We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af9d41 commit 1baa428Copy full SHA for 1baa428
book/forms.rst
@@ -420,6 +420,11 @@ corresponding errors printed out with the form.
420
but are being prevented by your browser from, for example, submitting
421
blank fields.
422
423
+ .. code-block:: html+jinja
424
+
425
+ {# src/Acme/DemoBundle/Resources/views/Default/new.html.twig #}
426
+ {{ form(form, { 'attr': {'novalidate': 'novalidate' }}) }}
427
428
Validation is a very powerful feature of Symfony2 and has its own
429
:doc:`dedicated chapter </book/validation>`.
430
0 commit comments