aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/active_model_helper.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-04-24 14:57:49 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-24 15:02:12 -0700
commit72a3e4b77b0e6e249a534d41ae48acdedd2098cc (patch)
tree478c939b0e870d03cc4d2752a6917a5249180853 /actionpack/lib/action_view/helpers/active_model_helper.rb
parent2538ef0d09954340701354e8fcf57e76c4210416 (diff)
downloadrails-72a3e4b77b0e6e249a534d41ae48acdedd2098cc.tar.gz
rails-72a3e4b77b0e6e249a534d41ae48acdedd2098cc.tar.bz2
rails-72a3e4b77b0e6e249a534d41ae48acdedd2098cc.zip
Rename fieldWithErrors style to field_with_errors. Remove unused alert style.
Diffstat (limited to 'actionpack/lib/action_view/helpers/active_model_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/active_model_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/active_model_helper.rb b/actionpack/lib/action_view/helpers/active_model_helper.rb
index a7650c0050..d9f09b5dc5 100644
--- a/actionpack/lib/action_view/helpers/active_model_helper.rb
+++ b/actionpack/lib/action_view/helpers/active_model_helper.rb
@@ -6,7 +6,7 @@ require 'active_support/core_ext/object/blank'
module ActionView
ActiveSupport.on_load(:action_view) do
class ActionView::Base
- @@field_error_proc = Proc.new{ |html_tag, instance| "<div class=\"fieldWithErrors\">#{html_tag}</div>".html_safe }
+ @@field_error_proc = Proc.new{ |html_tag, instance| "<div class=\"field_with_errors\">#{html_tag}</div>".html_safe }
cattr_accessor :field_error_proc
end
end