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

Note about using "with" keyword with form_theme to pass an array #3643

Closed
caponica opened this issue Mar 6, 2014 · 0 comments
Closed

Note about using "with" keyword with form_theme to pass an array #3643

caponica opened this issue Mar 6, 2014 · 0 comments
Labels
actionable Clear and specific issues ready for anyone to take them. good first issue Ideal for your first contribution! (some Symfony experience may be required)

Comments

@caponica
Copy link
Contributor

caponica commented Mar 6, 2014

Add a note to the form theming docs to say that you can pass an array if you use the "with" keyword first. Trying to pass an array without "with" causes an error but luckily I found a github thread that mentioned the magic "with":

symfony/symfony#3576 (comment)

Would be better if a note about this could be added to the docs instead.

@wouterj wouterj added Easy pick and removed Form labels Mar 8, 2014
weaverryan added a commit that referenced this issue Jul 11, 2014
…e template (javiereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Added a note about customizing a form with more than one template

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | 2.3+
| Fixed tickets | #3643

Commits
-------

ce14104 Fixed a minor grammar mistake
1b386ff Fixed a minor error
08d26ee Removed the old syntax and left just the "with" keyword syntax
94625c5 Fixed minor formatting issue
6621720 Minor formatting improvement
2b0213b Added a note about customizing a form with more than one template
@xabbuh xabbuh closed this as completed Oct 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them. good first issue Ideal for your first contribution! (some Symfony experience may be required)
Projects
None yet
Development

No branches or pull requests

3 participants