Sha256: f7163218ed227793229513bcc6124b9a62f78e89260dc3a28416313ccfa2603a
Contents?: true
Size: 532 Bytes
Versions: 12
Compression:
Stored size: 532 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. # # This method should be avoided - invoke the user interface element that triggers the submit instead. # def submit assert_exists @object.submit(nil) end end # Form end # Celerity
Version data entries
12 entries across 12 versions & 3 rubygems