Module: WithPopup::Helpers::FormHelper
Instance Method Summary collapse
- #button_with_popup(value = nil, options = {}, &block) ⇒ Object
- #submit_with_popup(value = nil, options = {}) ⇒ Object
Instance Method Details
#button_with_popup(value = nil, options = {}, &block) ⇒ Object
9 10 11 12 |
# File 'lib/with_popup/helpers/form_helper.rb', line 9 def (value = nil, = {}, &block) add_with_popup_option_to!() (value, , &block) end |
#submit_with_popup(value = nil, options = {}) ⇒ Object
4 5 6 7 |
# File 'lib/with_popup/helpers/form_helper.rb', line 4 def submit_with_popup(value = nil, = {}) add_with_popup_option_to!() submit(value, ) end |