Field_error_proc

Hi
I have in my environment
ActionView::Base.field_error_proc = Proc.new { |html_tag, instance|
“<span class=“fieldWithErrors”>#{html_tag}” }

It is working perfectly. But what I need is only for the login form

I have to change this and need to show only the flash error message. Is
this possible.

Thanks
Tom

Hi
I can’t solve this. could anybody please give a solution?

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs