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

This commit is contained in:
Taylor Otwell
2011-06-14 11:14:15 -07:00
parent 59fa681de1
commit 8161e2c736

View File

@@ -53,6 +53,16 @@ class Form {
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.
*
@@ -296,14 +306,4 @@ class Form {
return '<input'.HTML::attributes($attributes).' />'.PHP_EOL;
}
/**
* Close a HTML form.
*
* @return void
*/
public static function close()
{
return '</form>'.PHP_EOL;
}
}