Allow a different tag for error_message_on/for

Heelo everyone,

Why not change the line 89 and 107 of
…/actionpack/lib/action_view/helpers/active_record_helper.rb

that we can use a different tag from “div” to show errors ?

Replace :
content_tag(“div”
by
content_tag(options[:tag] || “div”

(sorry for my poor english)

On 8/18/06, Christophe971 [email protected] wrote:

content_tag(options[:tag] || "div"

(sorry for my poor english)

The HTML is often a matter of taste, and it can’t all be configurable. I
recommend you override this method with your own.

jeremy