Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 10 lines (7 sloc) 0.367 kb
# Include hook code here
# change the surrounding container for field errors to <span></span>
ActionView::Base.field_error_proc ={|html_tag, instance| "<span class=\"fieldWithErrors\">#{html_tag}</span>" }
# load array extension
require File.dirname(__FILE__) + '/lib/array_extension'
# include form helpers
ActionView::Base.send :include, NinjaFormHelper
Jump to Line
Something went wrong with that request. Please try again.