Sha256: 2ebab059d4d9c47eef60f483905468ccb107d2a0f1a89d01bf75f51eedea142c

Contents?: true

Size: 289 Bytes

Versions: 12

Compression:

Stored size: 289 Bytes

Contents

module Druid
  module Elements
    class Form < Element

      def self.finders
        super + [:action]
      end
      #
      # Submit the form
      #
      def submit
        element.submit
      end
    end

    Druid::Elements.tag_to_class[:form] = Druid::Elements::Form
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
druid-ts-1.2.2 lib/druid/elements/form.rb
druid-ts-1.2.1 lib/druid/elements/form.rb
druid-ts-1.2.0 lib/druid/elements/form.rb
druid-ts-1.1.8 lib/druid/elements/form.rb
druid-ts-1.1.7 lib/druid/elements/form.rb
druid-ts-1.1.6 lib/druid/elements/form.rb
druid-ts-1.1.5 lib/druid/elements/form.rb
druid-ts-1.1.4 lib/druid/elements/form.rb
druid-ts-1.1.3 lib/druid/elements/form.rb
druid-ts-1.1.2 lib/druid/elements/form.rb
druid-ts-1.1.1 lib/druid/elements/form.rb
druid-ts-1.1.0 lib/druid/elements/form.rb