sonata-project/SonataAdminBundle — pull request #770 by stof (2012-05-21 21:33:37+00:00)
Title: Cleaned the form theme

All blocks duplicated from the Symfony core theme without any changes
have been removed, making the maintenance of the file less painful as
fixes done in Symfony would then be used instead of having to
duplicate the fixes in SonataAdminBundle.
I also removed the extend tag in the other theme as it is useless for form themes due to the way they work and removes some flexibility (a form theme should provide only the blocks it want to change and let other blocks fallback to the next theme, so that multiple themes can be used together)

The ``field_widget`` could probably be removed too. The difference between the Symfony version and the Sonata version is that Symfony wraps the displaying of the ``value`` attribute in a check to display it only when the value is not empty. This is probably a change done in Symfony after the initial setup of the Sonata theme which has not been copied.

Note: as I did the PR for SAB 2.0, I compared it to Symfony 2.0. The same work should be done when merging into master by comparing with Symfony master.