Commit 8161e2c7 authored by Taylor Otwell's avatar Taylor Otwell

Moved Form::close next to Form::open.

parent 59fa681d
...@@ -53,6 +53,16 @@ class Form { ...@@ -53,6 +53,16 @@ class Form {
return $html.PHP_EOL; return $html.PHP_EOL;
} }
/**
* Close a HTML form.
*
* @return void
*/
public static function close()
{
return '</form>'.PHP_EOL;
}
/** /**
* Generate a hidden field containing the current CSRF token. * Generate a hidden field containing the current CSRF token.
* *
...@@ -296,14 +306,4 @@ class Form { ...@@ -296,14 +306,4 @@ class Form {
return '<input'.HTML::attributes($attributes).' />'.PHP_EOL; return '<input'.HTML::attributes($attributes).' />'.PHP_EOL;
} }
/**
* Close a HTML form.
*
* @return void
*/
public static function close()
{
return '</form>'.PHP_EOL;
}
} }
\ No newline at end of file
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