Home > rails > Customise error fields

Customise error fields

March 22nd, 2009

The default rails error message style is to insert a div with attribute class set to fieldWithErrors involving the form field.

That is how I’ve changed the default rails behaviour to inject css error class into the object.

Author: murad Categories: rails Tags:
  1. No comments yet.
  1. No trackbacks yet.