lib/contour/engine.rb in contour-2.1.0.beta17 vs lib/contour/engine.rb in contour-2.1.0.rc
- old
+ new
@@ -4,9 +4,9 @@
module Contour
class Engine < Rails::Engine
engine_name :contour
# Overwrite Rails errors to use Twitter/Contour CSS classes
- config.action_view.field_error_proc = Proc.new { |html_tag, instance| "<span class=\"control-group-error\">#{html_tag}</span>".html_safe }
+ config.action_view.field_error_proc = Proc.new { |html_tag, instance| "<span class=\"has-error\">#{html_tag}</span>".html_safe }
end
end