Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidroberto committed Jun 29, 2020
1 parent 2ed487c commit 5f6fc8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ For example, imagine you have a blog system in your sylius app and you want to d
You have two sylius ressource: Post Entity and a PostImage entity.


- First you need to create the admin form for your Post entity, and also the admin form for your PostImage entity. The entity form will add a CollectionType for the images:
- First you need to create the admin form for your Post entity, and also the admin form for your PostImage entity. The entity form will add the AdminMediaCollectionType for the images:

```
->add('images', CollectionType::class, [
->add('images', AdminMediaCollectionType::class, [
'entry_type' => PostImageType::class,
'allow_add' => true,
'allow_delete' => true,
Expand Down

0 comments on commit 5f6fc8a

Please sign in to comment.