[Rails] Re: Custom form builder errors?

2008-11-21 Thread Frederick Cheung
On 21 Nov 2008, at 17:16, Robert Kosek wrote: Hello all, I'm new to Ruby and Ruby on Rails, so please have patience with a newbie. I was looking at the HTML produced when there are form errors and realized why my layout keeps breaking. Every label and input with an error gets wrapped

[Rails] Re: Custom form builder errors?

2008-11-21 Thread Robert Kosek
Frederick Cheung wrote: You can set ActionView::Base.field_error_proc (take a look insider active_record_helper to see what the default is.) Fred Thanks Fred, just what I needed! Is the tag an object, or the actual string output? -- Posted via http://www.ruby-forum.com/.

[Rails] Re: Custom form builder errors?

2008-11-21 Thread Frederick Cheung
On 21 Nov 2008, at 17:42, Robert Kosek wrote: Frederick Cheung wrote: You can set ActionView::Base.field_error_proc (take a look insider active_record_helper to see what the default is.) Fred Thanks Fred, just what I needed! Is the tag an object, or the actual string output? Dunno.