Skip to content

Commit

Permalink
Fixed some typo in Twig
Browse files Browse the repository at this point in the history
  • Loading branch information
Romaric Drigon committed Apr 23, 2015
1 parent 57dd68f commit 8134fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/views/Form/dropzone.html.twig
Expand Up @@ -2,7 +2,7 @@
{% spaceless %}
<div class="ni-ub-dz-image" id="ni-ub-dz-image-{{ form.vars.name }}">
{# 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 #}
Expand Down Expand Up @@ -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 #}
Expand Down

0 comments on commit 8134fb3

Please sign in to comment.