Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (4 sloc) 189 Bytes
require "field_error_proc_helper"
ActionView::Base.field_error_proc = Proc.new do |html_element, instance|
FieldErrorProcHelper.add_css_class_to_element('input_error', html_element)
end