stouset / twitter_bootstrap_form_for

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

field_with_error divs added around error fields #1

Closed stouset closed 13 years ago

stouset commented 13 years ago

Rails insists on inserting a div around any label or input with errors on the attribute. There's a mechanism to override this, but it's application-wide. We may need to swap the existing value in and out before and after we start rendering forms.