Sha256: aab0bda55e40803eb0b528fd8b5a05fdb444d08dc01bd180b58948c072076dc8

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

module WithPopup
  module Helpers
    module FormHelper
      include WithPopup::Helpers::Util

      def submit_with_popup(value = nil, options = {})
        add_with_popup_option_to!(options)
        submit(value, options)
      end

      def button_with_popup(value = nil, options = {}, &block)
        add_with_popup_option_to!(options)
        button(value, options, &block)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
with_popup-0.1.0 lib/with_popup/helpers/form_helper.rb