The way you want to display the errors looks cumbersome to me. But maybe 
you have a good reason to do it this way (Actually I'm curious why you 
do it this way).

Why don't you do it the 'regular' Rails way with f.error_messages?

Note that this method is not available in Rails 3 anymore. You have to 
use the plugin 'dynamic_form' made by the Rails Core Team I guess. For 
more information see: https://github.com/joelmoss/dynamic_form

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to