Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Twig extensions that are new in 2.1 #1962

Merged
merged 5 commits into from Nov 26, 2012
Merged

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Nov 24, 2012

No description provided.

| ``_form_is_choice_group(label)`` | This will return ``true`` if the label is a choice group. |
+----------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``_form_is_choice_selected(form, choice)`` | This will return ``true`` if the given choice is selected. |
| ``csrf_token(intention)`` | This will render a CSRF token, use this function if you want CSRF protection without |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a period after This will render a CSRF token - I think we should have 2 different sentences here.

weaverryan added a commit that referenced this pull request Nov 26, 2012
Added Twig extensions that are new in 2.1
@weaverryan weaverryan merged commit e700325 into symfony:2.1 Nov 26, 2012
weaverryan added a commit that referenced this pull request Nov 26, 2012
@wouterj wouterj deleted the twig_ref_21 branch December 31, 2012 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants