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 2e3424f commit efb88ebCopy full SHA for efb88eb
book/forms.rst
@@ -423,10 +423,12 @@ corresponding errors printed out with the form.
423
.. code-block:: html+jinja
424
425
{# src/Acme/DemoBundle/Resources/views/Default/new.html.twig #}
426
+
427
{{ form(form, {'attr': {'novalidate': 'novalidate'}}) }}
428
429
.. code-block:: html+php
-
430
+ <!-- src/Acme/DemoBundle/Resources/views/Default/new.html.php -->
431
432
<?php echo $view['form']->form($form, array(
433
'attr' => array('novalidate' => 'novalidate'),
434
)) ?>
0 commit comments