Sha256: 7a5bee9ed636a9e271e84bc907a3fbec74eecd7064f76bcf0042d87cfd4372ea
Contents?: true
Size: 913 Bytes
Versions: 9
Compression:
Stored size: 913 Bytes
Contents
module Celerity class Form < Element include Container TAGS = [Identifier.new('form')] # HTML 4.01 Transitional DTD ATTRIBUTES = BASE_ATTRIBUTES | [ :'accept-charset', :accept, :action, :enctype, :method, :name, :onreset, :onsubmit, :target, ] 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
9 entries across 9 versions & 2 rubygems