We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d653ff4 commit 0086c5eCopy full SHA for 0086c5e
cookbook/form/form_customization.rst
@@ -67,11 +67,19 @@ just one line:
67
68
.. code-block:: jinja
69
70
+ {# renders all fields #}
71
+ {{ form_widget(form) }}
72
+
73
+ {# renders all fields *and* the form start and end tags #}
74
{{ form(form) }}
75
76
.. code-block:: php
77
- <?php echo $view['form']->widget($form); ?>
78
+ <!-- renders all fields -->
79
+ <?php echo $view['form']->widget($form) ?>
80
81
+ <!-- renders all fields *and* the form start and end tags -->
82
+ <?php echo $view['form']->form($form) ?>
83
84
The remainder of this recipe will explain how every part of the form's markup
85
can be modified at several different levels. For more information about form
0 commit comments