Append the attr.class of a type to the control-group in collections #350

Merged
merged 1 commit into from Dec 19, 2012

2 participants

@marcospassos

Some people like me don't like to use the custom options introduced by MopaBootstrapBundle in order to not create a bundle dependency related to the design (if you change your design, leaving to use Bootstrap and consequently removing the MopaBootstrapBundle for instance, you will need to refactor your code instead of just change the template or/and css files).

Thus, I'm trying to use the standard Symfony options to do some things that already are made using the Mopa custom options.

In this first simple commit, I added the possibility to add a class to the control-group without need to use the widget_control_group_attr, in collections types.

I think it may be useful for someone.

@phiamo phiamo merged commit 1c24cae into phiamo:master Dec 19, 2012

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment