From 8134fb355cd6da941ada7fa5fc73f345c76390cb Mon Sep 17 00:00:00 2001 From: Romaric Drigon Date: Thu, 23 Apr 2015 16:32:53 +0200 Subject: [PATCH] Fixed some typo in Twig --- Resources/views/Form/dropzone.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/views/Form/dropzone.html.twig b/Resources/views/Form/dropzone.html.twig index a6c3f06..8c1aba8 100644 --- a/Resources/views/Form/dropzone.html.twig +++ b/Resources/views/Form/dropzone.html.twig @@ -2,7 +2,7 @@ {% spaceless %}
{# just render the 2 widgets without labels nor space around #} - {{ form_widget(form.path, {'attr': {'data-path': ''}) }} + {{ form_widget(form.path, {'attr': {'data-path': ''}}) }} {{ form_widget(form.temporary, {'attr': {'data-temporary': ''}}) }} {# and there may be extra fields set by user #} @@ -56,7 +56,7 @@ {% if form.vars.allow_delete == true %} data-add-remove-links=true - data-remove-url="{{ path('netinfluence_upload_api_delete') }} + data-remove-url="{{ path('netinfluence_upload_api_delete') }}" {% endif %} {# localized messages #}