May 17, 2008

DIV to SPAN

environment.rb

ActionView::Base.field_error_proc = Proc.new { |html_tag, instance| "<span class=\"fieldWithErrors\">#{html_tag}</span>" }

No comments: