lib/celerity/elements/form.rb in jarib-celerity-0.0.6.7 vs lib/celerity/elements/form.rb in jarib-celerity-0.0.6.8

- old
+ new

@@ -1,20 +1,20 @@ 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 @container.update_page @object.submit(nil) end \ No newline at end of file