Merge remote branch 'stof/form_collection'

* stof/form_collection:
  [TwigBridge] fixed the check for the collection prototype in the form theme
This commit is contained in:
Fabien Potencier 2011-06-14 07:48:17 +02:00
commit b29597a585

View File

@ -263,7 +263,7 @@
{% block collection_widget %}
{% spaceless %}
{{ block('form_widget') }}
{% if prototype %}
{% if prototype is defined %}
<script type="text/html" id="{{ id }}_prototype">{{ form_row(prototype) }}</script>
{% endif %}
{% endspaceless %}