views:

14

answers:

0

Hi i have a form with rails validation. When a field have an error rails apply the fieldWithError class only on the input with a certain id. I want to apply the class fieldWithError also to the label.

Is possible do it?

thanks