From 57beb815988cf71a04401c9ce1b9a7f4478cbf41 Mon Sep 17 00:00:00 2001 From: Christian Raue Date: Thu, 29 Jan 2015 18:44:15 +0100 Subject: [PATCH] fixed code to use Twig function `form_end` by adding its missing `form` argument --- book/forms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/forms.rst b/book/forms.rst index e60fe93c8bf..c6c366ce3c6 100644 --- a/book/forms.rst +++ b/book/forms.rst @@ -175,7 +175,7 @@ That's it! Just three lines are needed to render the complete form: Renders all the fields, which includes the field element itself, a label and any validation error messages for the field. -``form_end()`` +``form_end(form)`` Renders the end tag of the form and any fields that have not yet been rendered, in case you rendered each field yourself. This is useful for rendering hidden fields and taking advantage of the automatic