From 8161e2c736c62adde8c653868a7855bf7564e0bb Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 14 Jun 2011 11:14:15 -0700 Subject: [PATCH] Moved Form::close next to Form::open. --- system/form.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/system/form.php b/system/form.php index e8dffc8e..b303c0ed 100644 --- a/system/form.php +++ b/system/form.php @@ -53,6 +53,16 @@ public static function open($action = null, $method = 'POST', $attributes = arra return $html.PHP_EOL; } + /** + * Close a HTML form. + * + * @return void + */ + public static function close() + { + return ''.PHP_EOL; + } + /** * Generate a hidden field containing the current CSRF token. * @@ -296,14 +306,4 @@ private static function input($type, $name, $value = null, $attributes = array() return ''.PHP_EOL; } - /** - * Close a HTML form. - * - * @return void - */ - public static function close() - { - return ''.PHP_EOL; - } - } \ No newline at end of file