How to skip css class

Is it possible to avoid applying rails default FieldWithErrors css
class for particular input fields.
if not how to avoid on the whole.
Thanks a bunch

On Thu, Jun 25, 2009 at 5:05 AM, Newb
Newb[email protected] wrote:

Is it possible to avoid applying rails default FieldWithErrors css
class for particular input fields.
if not how to avoid on the whole.

You can print the errors individually using your own css:

<% if @foo.errors && @foo.errors[‘bar’] -%>
<%= @foo.errors[‘bar’] %>
<% end -%>


Greg D.
http://destiney.com/