field_error_proc

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

    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