Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
fixes #9 removes the file.canUpload from the twig options in the vide…
Browse files Browse the repository at this point in the history
…olist-field.twig
  • Loading branch information
cdowdy committed Dec 20, 2017
1 parent a561484 commit da3bc63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/fields/_videolist-field.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
extensions: field.extensions|default([]),
label: field.label,
upload: field.upload|default(''),
can_upload: field.canUpload,
info: field.info|default('info.upload.filelist')
} %}

Expand All @@ -17,7 +16,7 @@



{% set can_upload = context.can.upload and option.can_upload %}
{% set can_upload = context.can.upload %}

{% set attributes = {
fileupload: {
Expand Down

0 comments on commit da3bc63

Please sign in to comment.