add form::close.

This commit is contained in:
Taylor Otwell 2011-07-16 10:22:57 -05:00
parent 4c5803f313
commit 60ff3bf840
1 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,16 @@ public static function open_for_files($action = null, $method = 'POST', $attribu
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.
*