seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.49k stars 997 forks source link

how to display the error message? #286

Closed tothestar closed 10 years ago

tothestar commented 12 years ago

when i apply this rails g bootstrap:themed [RESOURCE_NAME] the error handler in view is removed. ??

then i have to add it back by hand?

thanks!

rickygu commented 12 years ago

I noticed the same thing. the forms generated don't have the error notification.

bakki commented 12 years ago

Same problem here. Would appreciate a fix. How about adding simple_form with twitter-bootstrap enabled? I am a bit hesitant to do this as I will have to rewrite ALL my forms.

khelll commented 11 years ago

+1

liuzxc commented 11 years ago

same problem, anybody can help us ?

liuzxc commented 11 years ago

https://github.com/seyhunak/twitter-bootstrap-rails#flash-helper

Add flash helper <%= bootstrap_flash %> to your layout (built-in with layout generator)