stouset / twitter_bootstrap_form_for

A Rails FormBuilder DSL for generating Twitter Bootstrap forms
https://github.com/stouset/twitter_bootstrap_form_for
MIT License
409 stars 110 forks source link

Use control-group style instead of clearfix for form elements to properly render error conditions #53

Closed tadman closed 12 years ago

tadman commented 12 years ago

The current emitter uses the "clearfix" style which doesn't account for the error conditions. Using "control-group" means that fields with errors show up with the correct style.

stouset commented 12 years ago

The currently released version of this gem only supports Bootstrap 1. There's a branch with Bootstrap 2 support that I'm waiting for bugs to die down on before I merge.