Sha256: 2bd08ccdf6df9a6aa35747e1270881d94eaa33383bb50cdff97455a85196aef1
Contents?: true
Size: 456 Bytes
Versions: 10
Compression:
Stored size: 456 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 # Form end # Celerity
Version data entries
10 entries across 10 versions & 2 rubygems