U:RDoc::AnyMethod[iI" form:EFI"CGI::HtmlExtension#form;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I")Generate a Form element as a string.;To:RDoc::Markup::BlankLineo; ; [I"L+method+ should be either "get" or "post", and defaults to the latter. ;TI"B+action+ defaults to the current CGI script name. +enctype+ ;TI"5defaults to "application/x-www-form-urlencoded".;T@o; ; [I">Alternatively, the attributes can be specified as a hash.;T@o; ; [I"DSee also #multipart_form() for forms that include file uploads.;T@o:RDoc::Markup::Verbatim; [I"form{ "string" } ;TI"W #
string
;TI" ;TI"form("get") { "string" } ;TI"V #
string
;TI" ;TI"%form("get", "url") { "string" } ;TI"c #
string
;TI" ;TI"Cform("METHOD" => "post", "ENCTYPE" => "enctype") { "string" } ;TI"< #
string
;T: @format0: @fileI"lib/cgi/html.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"[(method = "post", action = script_name, enctype = "application/x-www-form-urlencoded");T@'TI"HtmlExtension;FcRDoc::NormalModule00