Sha256: 41bcb0edd4e32fe33db304e7df73cc448e4d45488541e0ded70ed353f69c6145
Contents?: true
Size: 410 Bytes
Versions: 6
Compression:
Stored size: 410 Bytes
Contents
module Celerity class Form < Element include Container TAGS = [Identifier.new('form')] # HTML 4.01 Transitional DTD ATTRIBUTES = BASE_ATTRIBUTES | [:action, :method, :enctype, :accept, :name, :onsubmit, :onreset, :target, :'accept-charset'] DEFAULT_HOW = :name # Submits the form. def submit assert_exists @container.update_page @object.submit(nil) end end end
Version data entries
6 entries across 6 versions & 2 rubygems