Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit efb88eb

Browse files
sebastianblumweaverryan
authored andcommitted
added PHP file comment
1 parent 2e3424f commit efb88eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/forms.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,12 @@ corresponding errors printed out with the form.
423423
.. code-block:: html+jinja
424424

425425
{# src/Acme/DemoBundle/Resources/views/Default/new.html.twig #}
426+
426427
{{ form(form, {'attr': {'novalidate': 'novalidate'}}) }}
427428

428429
.. code-block:: html+php
429-
430+
<!-- src/Acme/DemoBundle/Resources/views/Default/new.html.php -->
431+
430432
<?php echo $view['form']->form($form, array(
431433
'attr' => array('novalidate' => 'novalidate'),
432434
)) ?>

0 commit comments

Comments
 (0)