Answer the question
In order to leave comments, you need to log in
How to customize rails form errors?
Friends, faced with a trivial but unpleasant problem. When validating a form, the framework automatically wraps the label and input in div.field_with_errors. I need to change this behavior, override the error template for fields and labels throughout the application. Who faced - tell me how you solved this problem.
PS Under Rails 4
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question