File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -420,21 +420,21 @@ corresponding errors printed out with the form.
420
420
but are being prevented by your browser from, for example, submitting
421
421
blank fields.
422
422
423
- .. configuration-block ::
423
+ .. configuration-block ::
424
424
425
- .. code-block :: html+jinja
425
+ .. code-block :: html+jinja
426
426
427
- {# src/Acme/DemoBundle/Resources/views/Default/new.html.twig #}
427
+ {# src/Acme/DemoBundle/Resources/views/Default/new.html.twig #}
428
428
429
- {{ form(form, {'attr': {'novalidate': 'novalidate'}}) }}
429
+ {{ form(form, {'attr': {'novalidate': 'novalidate'}}) }}
430
430
431
- .. code-block :: html+php
431
+ .. code-block :: html+php
432
432
433
- <!-- src/Acme/DemoBundle/Resources/views/Default/new.html.php -->
433
+ <!-- src/Acme/DemoBundle/Resources/views/Default/new.html.php -->
434
434
435
- <?php echo $view['form']->form($form, array(
436
- 'attr' => array('novalidate' => 'novalidate'),
437
- )) ?>
435
+ <?php echo $view['form']->form($form, array(
436
+ 'attr' => array('novalidate' => 'novalidate'),
437
+ )) ?>
438
438
439
439
Validation is a very powerful feature of Symfony2 and has its own
440
440
:doc: `dedicated chapter </book/validation >`.
You can’t perform that action at this time.
0 commit comments