Skip to content

Commit

Permalink
[TwigBridge][Form] Prevent multiple rendering of form collection prot…
Browse files Browse the repository at this point in the history
…otypes
  • Loading branch information
Shoplifter committed Dec 10, 2018
1 parent d069c26 commit ef0b44e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@
{%- endblock form_widget_compound -%}

{%- block collection_widget -%}
{% if prototype is defined %}
{% if prototype is defined and not prototype.rendered %}
{%- set attr = attr|merge({'data-prototype': form_row(prototype) }) -%}
{% endif %}
{{- block('form_widget') -}}
Expand Down

0 comments on commit ef0b44e

Please sign in to comment.