The default rails scheme for highlighting errors is to wrap the
field in a div, but that changes the structure of the page and can
change the meaning of CSS rules applied to the fields.
As an alternative we now apply a class to the fields, and use that
in the CSS to apply a highlight.