Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c5388d4

Browse files
committedApr 14, 2025·
Fix syntax
1 parent 7774b21 commit c5388d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎forms.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,11 +1000,11 @@ Here, the referral code is an extra field injected at view level.
10001000
The field name is composed of form ``user_create`` and the field name ``referralCode``.
10011001
It's automatically generated from the form class name. You can :ref:`override it <changing-the-form-name>`
10021002

1003-
Or you can use use
1003+
Or you can use
10041004

10051005
.. code-block:: twig
10061006
1007-
{{ form.vars.full_name ~ '[referralCode]' }}
1007+
{{ form.vars.full_name ~ '[referralCode]' }}
10081008
10091009
to render the form name dynamically
10101010

0 commit comments

Comments
 (0)
Please sign in to comment.