You can just override it at your helpers and change this behaviour.

-
Maurício Linhares
http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr



On Fri, Jun 12, 2009 at 4:12 AM,
[email protected]<[email protected]> wrote:
>
> hey people
>
> i just wanna have the errortext if there is a error. error_message_on
> () always returns an additional div tag which destroys my whole
> design. i managed to get rid of the divs for the errorfields through
> ActionView::Base.field_error_proc = Proc.new {  |html_tag, instance| "#
> { html_tag}" }
> in environment.rb. but how do i do that for just the errormessage?
>
> any help is greatly appreciated.
>
> thanks alot,
> moka
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to