Module: Formstrap::FormHelper
- Defined in:
- lib/formstrap/form_helper.rb
Instance Method Summary collapse
Instance Method Details
#formstrap_form_for(record, options = {}) ⇒ Object
3 4 5 6 7 |
# File 'lib/formstrap/form_helper.rb', line 3 def formstrap_form_for(record, = {}, &) # ToDo: Can we pass info about the view here (e.g. host, protocol ...) = .reverse_merge({builder: Formstrap::FormBuilder}) form_for(record, , &) end |
#formstrap_form_with(options = {}) ⇒ Object
9 10 11 12 13 |
# File 'lib/formstrap/form_helper.rb', line 9 def formstrap_form_with( = {}, &) # ToDo: Can we pass info about the view here (e.g. host, protocol ...) = .reverse_merge({builder: Formstrap::FormBuilder}) form_with(**, &) end |