sonata-project/SonataAdminBundle — pull request #989 by andreadelfino (2012-09-30 10:54:47+00:00)
Title: Replaced dots with underscores in fields block names

Adding associated field in `configureFormFields()` related to a Bar entity with dot notation:

```php
$formMapper->add('baz.name');
```

the last field block name generated is:
```twig
sonata_admin_foo_bar_baz.name_text
```
the attached code replace dots with underscore, so result is:
```twig
sonata_admin_foo_bar_baz_name_text
```

I tested this fix only on 2.0 branch but I think the same can be applied also on master.