Module: Shoehorn::Helpers::FormHelpers

Defined in:
lib/shoehorn/helpers/form_helpers.rb

Instance Method Summary collapse

Instance Method Details

#bootstrap_form_for(*args, &block) ⇒ Object

Form builder TODO add documentation



5
6
7
8
9
# File 'lib/shoehorn/helpers/form_helpers.rb', line 5

def bootstrap_form_for(*args, &block)
  options = args.extract_options!
  options.reverse_merge!(:builder => Shoehorn::Components::FormBuilder)
  form_for(*(args + [options]), &block)
end