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
11 12 13 14 |
# File 'lib/with_popup/helpers/form_helper.rb', line 11 def (value = nil, = {}, &block) add_with_popup_option_to!() (value, , &block) end |
#submit_with_popup(value = nil, options = {}) ⇒ Object
6 7 8 9 |
# File 'lib/with_popup/helpers/form_helper.rb', line 6 def submit_with_popup(value = nil, = {}) add_with_popup_option_to!() submit(value, ) end |