Notes &
Replace a div.fieldWithErrors with a span in Rails
Replace the stupid fieldWithErrors <div> with a <span>. YES, I know you can make DIVs inline by applying a “display: inline” style; the real problem is that you can’t simply use DIVs anywhere. Most significantly, you can’t use DIVs inside a P, which would be invalid HTML and in fact confuses some browsers more than you’d like.
ActionView::Base.field_error_proc =
Proc.new {|html_tag, instance| %(#{html_tag})}