Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] make prototype_name available in twig template #7825

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

Closed
wants to merge 1 commit into from

Conversation

uwej711
Copy link
Contributor

@uwej711 uwej711 commented Apr 23, 2013

When using several collection types on the same page you might wan't to use different prototype names. Having the name in the template allows for a clean javascript to replace the prototype name in the prototype (see adjusted sample in the Doc PR).

Q A
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n.a
License MIT
Doc PR symfony/symfony-docs#2544

@stof
Copy link
Member

stof commented Apr 24, 2013

This is not a bugfix but a new feature (checking both at the same time looks weird). 2.2 is the wrong target branch for this.
And it is related to #7713

@uwej711
Copy link
Contributor Author

uwej711 commented Apr 24, 2013

I'm fine creating a PR for master ... and it is a bug when you try to really use prototype_name

@fabpot
Copy link
Member

fabpot commented Apr 25, 2013

Closing in favor of #7713

@fabpot fabpot closed this Apr 25, 2013
@uwej711 uwej711 deleted the data_prototype_name branch April 25, 2013 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants