diff --git a/README.md b/README.md
index 2fc2db7..0037cae 100755
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ In your `config/packages/_sylius.yaml` file, add the following
```yaml
# config/packages/_sylius.yaml
imports:
- - { resource: "@MezcalitoSyliusFileUploadPlugin/Resources/config/app/config.yml"
+ - { resource: "@MezcalitoSyliusFileUploadPlugin/Resources/config/app/config.yml" }
```
> This file defines the gaufrette `filesystem` and `adapter` used by the plugin, which you can override.
@@ -288,7 +288,7 @@ In order to handle the file upload you need to attach the `FilesUploadListener`
# services.yml
services:
app.listener.files_upload:
- class: Mezcalito\SyliusFileUploadPlugin\FilesUploadListener
+ class: Mezcalito\SyliusFileUploadPlugin\EventListener\FilesUploadListener
autowire: true
autoconfigure: false
public: false
@@ -309,6 +309,14 @@ and render the `{{ form_row(form.files) }}` field.
{% from '@SyliusAdmin/Macro/translationForm.html.twig' import translationForm %}
+{# Add the form theme to preview the file with the theme (there is a shortcut for 'fileProductTheme.html.twig' #}
+{# Check https://symfony.com/doc/current/form/form_themes.html for help #}
+{% form_theme form with [
+ '@SyliusAdmin/Form/imagesTheme.html.twig',
+ '@MezcalitoSyliusFileUploadPlugin/Form/theme.html.twig'
+] %}
+
+