D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
CGI
/
HtmlExtension
/
Filename :
multipart_form-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a Form element with multipart encoding as a String. - !ruby/struct:SM::Flow::P body: Multipart encoding is used for forms that include file uploads. - !ruby/struct:SM::Flow::P body: <tt>action</tt> is the action to perform. <tt>enctype</tt> is the encoding type, which defaults to "multipart/form-data". - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " multipart_form{ "string" }\n # <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>\n\n multipart_form("url") { "string" }\n # <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM>\n" full_name: CGI::HtmlExtension#multipart_form is_singleton: false name: multipart_form params: (action = nil, enctype = "multipart/form-data") {|| ...} visibility: public