diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-14 16:48:08 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-14 16:48:08 +0000 |
commit | d48bfd58f6ff26b2a34aa8d71d9d691f9fbc10e2 (patch) | |
tree | c026e8e6639f7f9ceed92b75fb8ed657c566d788 /lib/use_spans_for_errors.rb | |
parent | f8cf582f8c7461bfd680aac9c87cb5377c39c30c (diff) | |
parent | 0747a2d66f65fd22d8ea275d9df29a7981a46d07 (diff) |
Merge branch 'release/0.7' into wdtk
Diffstat (limited to 'lib/use_spans_for_errors.rb')
-rw-r--r-- | lib/use_spans_for_errors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/use_spans_for_errors.rb b/lib/use_spans_for_errors.rb index cda05c588..135453f78 100644 --- a/lib/use_spans_for_errors.rb +++ b/lib/use_spans_for_errors.rb @@ -8,5 +8,5 @@ # # See http://dev.rubyonrails.org/ticket/2210 -ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| %(<span class="fieldWithErrors">#{html_tag}</span>)} +ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| %(<span class="fieldWithErrors">#{html_tag}</span>).html_safe} |