Module: StandardFormHelper

Defined in:
app/helpers/standard_form_helper.rb

Instance Method Summary collapse

Instance Method Details

#standard_form_for(name, *args, &block) ⇒ Object



2
3
4
5
6
7
8
9
10
11
12
# File 'app/helpers/standard_form_helper.rb', line 2

def standard_form_for(name, *args, &block)
	options = args.extract_options!

	('div',
					(
						'dl',
						form_for(name, *(args << options.merge(:builder => StandardFormBuilder)), &block)
					),
					class: 'standard_form'
	)
end