10000 fixed code to use Twig function `form_end` by adding its missing `for… · craue/symfony-docs@57beb81 · GitHub
[go: up one dir, main page]

Skip to content

Commit 57beb81

Browse files
committed
fixed code to use Twig function form_end by adding its missing form argument
1 parent dc87147 commit 57beb81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ That's it! Just three lines are needed to render the complete form:
175175
Renders all the fields, which includes the field element itself, a label
176176
and any validation error messages for the field.
177177

178-
``form_end()``
178+
``form_end(form)``
179179
Renders the end tag of the form and any fields that have not
180180
yet been rendered, in case you rendered each field yourself. This is useful
181181
for rendering hidden fields and taking advantage of the automatic

0 commit comments

Comments
 (0)
0