I have a text_field in a form that is displayed inline, as:
Label: Field Button
I am using the standard scaffolding error layout for this form. When a
validation error occurs, the field is highlighted as expected, but
because of the CSS setup for the “fieldWithErrors” class, the display
looks like this:
Label:
Field_highlighted_as_error_with_red_padding
Button
I know that this is because of the “display: table” setting the CSS
class (see below):
.fieldWithErrors {
padding: 2px;
background-color: red;
display: table;
}
I would like to see my field highlighted in this way but keeping the
form elements inline.
Has anyone ever made this kind of change to the scaffolding error
display CSS and would be willing to share their fix?
Thanks,
Wes