1
I have a Rails application with Twitter Bootstrap that, when creating a record and presenting errors, shows the error in a flash/notice as per image:
However, I would like errors to appear in the fields, and change the class of inputs to . has-error or something like that. I took a look at field_error_proc and tried to change it in several ways, but to no avail (actually, maybe I did something wrong).
It’s funny that in my case the fields don’t end up with this class "field_with_bugs", I don’t know if it’s because of bootstrap, simple_form or something else. However, the part of the errors above the input worked.
– Killer