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