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

Displaying errors assigned to :base? #40

Closed rymohr closed 12 years ago

rymohr commented 12 years ago

Am I doing something wrong, or does this library not handle errors added to :base? The only errors that show up for me are those attached to individual attributes.

stouset commented 12 years ago

It doesn't currently handle them, and I don't intend to (since any way I chose might not be acceptable for some). You should be able to easily insert your own error markup for errors on :base, though.

rymohr commented 12 years ago

Thanks. Just wanted to make sure I wasn't doing something stupid before adding custom markup.

stouset commented 12 years ago

No worries. Let me know if you have any more questions.