When using the following:

    {% for question in form.creativeQuestions %}
    {{ form_widget(question.question) }}
    {{ form_widget(question.pos) }}
    {% endfor %}

The prototype is displayed as a physical form element instead of:

    <script type="text/html" id="{{ id }}_prototype">...</script>

I don't really want to start being hacky with my code and remove
elements on DOM load... not all of our clients use javascript and that
equates to lost money (doing the math, can be around $260,000+ a year
for us).

What is the proper way of iterating through a collection and
displaying the proper prototype without having the it be an actual
rendered form element??

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to