Module function reference
form
A reference entry for form
form form (string action[, string method[, string content[, map attributes]]]) ⇒ string
Creates an HTML form.
Example
YASS
$html = HTML::form("/login", "post", "<input>", ["class" => "login"])
Input: action="/login", method="post", content="<input>", attributes=["class" => "login"]
Output: <form class="login" action="/login" method="post"><input></form>