form(method = "post", action = script_name, enctype = "application/x-www-form-urlencoded")
Instance Public methods
Generate a Form element as a string.
method should be either âgetâ or âpostâ, and defaults to the
latter. action defaults to the current CGI script name. enctype defaults to
âapplication/x-www-form-urlencodedâ.
Alternatively, the attributes can be specified as a hash.
See also multipart_form() for
forms that include file uploads.
form{ "string" }
# <FORM METHOD="