Hi, since upgrade to v2.1.32, I get this error :
Unexpected "endspaceless" tag (expecting closing tag for the "apply" tag defined near line 24).
Twig\Error\
SyntaxError
in app\Resources\views\jquery.collection.html.twig (line 32)
{% endif %} {% set attr = attr|merge({'data-allow-add': allow_add ? 1 : 0}) %} {% set attr = attr|merge({'data-allow-remove': allow_delete ? 1 : 0 }) %} {% set attr = attr|merge({'data-name-prefix': full_name}) %} {{ block('form_widget') }} {% endspaceless %}{% endblock collection_widget %}
I guess jquery.collection.html.twig should be updated to
{% block collection_widget %}
{% apply spaceless %}
{% if prototype is defined %}
{% set attr = attr|merge({'data-prototype': form_row(prototype)}) %}
{% set attr = attr|merge({'data-prototype-name': prototype.vars.name}) %}
{% endif %}
{% set attr = attr|merge({'data-allow-add': allow_add ? 1 : 0}) %}
{% set attr = attr|merge({'data-allow-remove': allow_delete ? 1 : 0 }) %}
{% set attr = attr|merge({'data-name-prefix': full_name}) %}
{{ block('form_widget') }}
{% endapply %} #Update this line
{% endblock collection_widget %}
Hi, since upgrade to v2.1.32, I get this error :
Unexpected "endspaceless" tag (expecting closing tag for the "apply" tag defined near line 24).I guess jquery.collection.html.twig should be updated to