Bootstrap3 and Rails forms Error highlighting - moralesalberto/personal GitHub Wiki
The simplest way to style the fields that have errors in the rails form with Bootstrap3 is to simply override the style field_with_errors
for both the label
and the input
tags and use the same colors that Bootstrap uses for their errors.
This should take care of both the label and input. You now have the typical red label and red input area.
.field_with_errors label {
color: #b94a48;
}
.field_with_errors input {
border-color: #b94a48;
background-color: #f2dede;
}