diff --git a/cookbook/form/form_customization.rst b/cookbook/form/form_customization.rst index 41361bf6775..cd3eedb2b15 100644 --- a/cookbook/form/form_customization.rst +++ b/cookbook/form/form_customization.rst @@ -67,11 +67,19 @@ just one line: .. code-block:: jinja + {# renders all fields #} {{ form_widget(form) }} + {# renders all fields *and* the form start and end tags #} + {{ form(form) }} + .. code-block:: php - widget($form); ?> + + widget($form) ?> + + + form($form) ?> The remainder of this recipe will explain how every part of the form's markup can be modified at several different levels. For more information about form