add form::close.

This commit is contained in:
Taylor Otwell
2011-07-16 10:22:57 -05:00
parent 4c5803f313
commit 60ff3bf840

View File

@@ -57,6 +57,16 @@ class Form {
return static::open($action, $method, $attributes);
}
/**
* Close a HTML form.
*
* @return string
*/
public static function close()
{
return '</form>';
}
/**
* Generate a hidden field containing the current CSRF token.
*