Commit 60ff3bf8 by Taylor Otwell

add form::close.

parent 4c5803f3
...@@ -58,6 +58,16 @@ class Form { ...@@ -58,6 +58,16 @@ class Form {
} }
/** /**
* Close a HTML form.
*
* @return string
*/
public static function close()
{
return '</form>';
}
/**
* Generate a hidden field containing the current CSRF token. * Generate a hidden field containing the current CSRF token.
* *
* @return string * @return string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment