real-chocopanda/sfTwitterBootstrapPlugin — pull request #55 by colinux (2012-06-21 10:11:56+00:00)
Title: Improvements for forms rendering

In `TwitterBootstrap` form formatter, `rowFormat` respect the html structure of the bootstrap form, e.g. with control-groups and so on, and the errors are now in red by default. This only affects forms rendererd globally or by `$field->renderRow()`, which is not the case of admin generator forms. (more in my message commit).

I have also joined a new form formatter class `TwitterBootstrapHorizontal` because I find much better the horizontal forms than the default ones. Of course `form` tags need the `form-horizontal` class.
This also includes widget formatters for radio and checkboxes as inline and block elements. Cf git message for more explanations.

None of these commits fix the error message not well aligned with the label in admin generator forms (I didn't investigate on this). BTW, maybe now we could change the way the admin forms are rendered and display the errors at the right of the fields like in horizontal forms?