Commit 60ff3bf8 authored by Taylor Otwell's avatar Taylor Otwell

add form::close.

parent 4c5803f3
...@@ -57,6 +57,16 @@ class Form { ...@@ -57,6 +57,16 @@ class Form {
return static::open($action, $method, $attributes); 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. * Generate a hidden field containing the current CSRF token.
* *
......
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