Skip to content

Commit

Permalink
multiple file upload (#1531 )
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik authored Dec 2, 2019
2 parents 91d867d + fb74b63 commit 6ac5a8a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ twig:
form_themes:
- '@ShopsysFramework/Common/Form/theme.html.twig'
- '@ShopsysFramework/Admin/Form/colorpickerFields.html.twig'
- '@ShopsysFramework/Admin/Form/abstractFileuploadFields.html.twig'
- '@ShopsysFramework/Admin/Form/fileuploadFields.html.twig'
- '@ShopsysFramework/Admin/Form/imageuploadFields.html.twig'
- '@ShopsysFramework/Admin/Form/pricetableFields.html.twig'
Expand Down
12 changes: 12 additions & 0 deletions config/uploaded_files.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# It is best practice to name first type as "default"
#
# Example:
# - name: mailTemplate
# class: Shopsys\FrameworkBundle\Model\Mail\MailTemplate
# types:
# - name: default
# multiple: false

- name: mailTemplate
class: Shopsys\FrameworkBundle\Model\Mail\MailTemplate
types:
- name: default
multiple: true

0 comments on commit 6ac5a8a

Please sign in to comment.