Skip to content

Commit

Permalink
minor #38 Fixed a minor error in the documentation about customizing …
Browse files Browse the repository at this point in the history
…entity fields (javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Fixed a minor error in the documentation about customizing entity fields

Commits
-------

947300d Fixed a minor error in the documentation about customizing entity fields
  • Loading branch information
javiereguiluz committed Jan 17, 2015
2 parents 44942fd + 947300d commit 58081d8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ easy_admin:
entities:
Customer:
class: AppBundle\Entity\Customer
list: ['id', 'firstName', 'lastName', 'phone', 'email']
list:
fields: ['id', 'firstName', 'lastName', 'phone', 'email']
# ...
```

Expand All @@ -270,7 +271,8 @@ easy_admin:
entities:
# this configuration IS NOT VALID. Use the configuration showed above
Customer: AppBundle\Entity\Customer
list: ['id', 'firstName', 'lastName', 'phone', 'email']
list:
fields: ['id', 'firstName', 'lastName', 'phone', 'email']
# ...
```

Expand All @@ -289,7 +291,8 @@ easy_admin:
entities:
Customer:
class: AppBundle\Entity\Customer
list: ['id', 'name', 'phone', 'email']
list:
fields: ['id', 'name', 'phone', 'email']
# ...
```

Expand Down Expand Up @@ -332,8 +335,10 @@ easy_admin:
entities:
Customer:
class: AppBundle\Entity\Customer
edit: ['firstName', 'secondName', 'phone', 'email']
new: ['firstName', 'secondName', 'phone', 'email', 'creditLimit']
edit:
fields: ['firstName', 'secondName', 'phone', 'email']
new:
fields: ['firstName', 'secondName', 'phone', 'email', 'creditLimit']
# ...
```

Expand Down

0 comments on commit 58081d8

Please sign in to comment.