Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 62ce5b8

Browse filesBrowse files
committed
referraCode to referralCode
1 parent eeafe41 commit 62ce5b8
Copy full SHA for 62ce5b8

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎forms.rst

Copy file name to clipboardExpand all lines: forms.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -981,18 +981,18 @@ The extra fields can be injected like this:
981981
{{ form_row(form.username) }}
982982
{{ form_row(form.email) }}
983983

984-
{# Hidden field to send additional sponsorship code #}
984+
{# Hidden field to send additional referral code #}
985985
<input type="hidden" name="user_create[referralCode]" value="{{ referralCode }}"/>
986986

987987
<button type="submit">Submit</button>
988988
{{ form_end(form) }}
989989

990-
Here, the sponsorship code is an extra field injected at view level.
990+
Here, the referral code is an extra field injected at view level.
991991

992-
You can get the referraCode via ``getExtraData``::
992+
You can get the referral code via ``getExtraData``::
993993

994994
$extraData = $form->getExtraData();
995-
$referraCode = $extraData['referralCode'] ?? null;
995+
$referralCode = $extraData['referralCode'] ?? null;
996996

997997
Learn more
998998
----------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.