bug #669 Boolean fields are displayed as "flip switches" by default (javiereguiluz)
bug #669 Boolean fields are displayed as "flip switches" by default (javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Boolean fields are displayed as "flip switches" by default

This fixes #667.

---

I know @Pierstoval has said several times that having several types properties is confusing. Maybe we can improve this in the future, but for now, we have: `type` (provided by Doctrine metadata), `dataType` (what we use when displaying this data in `list` or `show`), `fieldType` (the Symfony Form type used in `new` and `edit`). So it's clear that to decide which template to use in `list` and `show`, we must use p dateType` and not `type`.

Commits
-------

c6b7f9a Boolean fields are displayed as "flip switches" by default

javiereguiluz/EasyAdminBundle,ogizanagi/EasyAdminBundle,yceruto/EasyAdminBundle,yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,gabiudrescu/EasyAdminBundle,ogizanagi/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,javiereguiluz/EasyAdminBundle,gabiudrescu/EasyAdminBundle,ogizanagi/EasyAdminBundle,yceruto/EasyAdminBundle,gabiudrescu/EasyAdminBundle,ogizanagi/EasyAdminBundle