Skip to content

Commit 768bf28

Browse files
duanegranweaverryan
authored andcommitted
Fixed method call for rendering the label in twig
(cherry picked from commit 13f3a11)
1 parent 887976d commit 768bf28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/options/label.rst.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ also be directly set inside the template:
88

99
.. code-block:: jinja
1010

11-
{{ render_label(form.name, 'Your name') }}
11+
{{ form_label(form.name, 'Your name') }}

0 commit comments

Comments
 (0)