You are viewing an historical archive of past issues. Please
report new issues to the appropriate project issue tracker on
GitHub.
Comments
-
Greg Hurrell
Ok, on inspection, I see that in Rails 2 a CSS class,
fieldWithErrors
, is applied to fields with validation errors.In Rails 3, the class has been changed to
field_with_errors
.So all I need to do is edit my CSS to get the old behavior back.
I think I'm going to add some JS magic as well to display the errors in a tool tip or similar right on the field.
-
Greg Hurrell
Summary changed:
- From: Rails 3: add back "decoration" to forms to show validation errors
- To: Add JavaScript-based "decoration" (tool tips) to forms to show validation errors
-
Greg Hurrell
Kind changed:
- From: bug
- To: feature request
Add a comment
Comments are now closed for this issue.