diff --git a/system/form.php b/system/form.php index 5783a79b..1b6017a9 100644 --- a/system/form.php +++ b/system/form.php @@ -21,11 +21,8 @@ class Form { { $attributes['action'] = HTML::entities(URL::to((is_null($action)) ? Request::uri() : $action)); - // ------------------------------------------------------- - // If the request method is PUT or DELETE, we'll default - // the request method to POST since the reqeust method - // is being spoofed by the form. - // ------------------------------------------------------- + // If the request method is PUT or DELETE, we'll default the request method to POST + // since the request method is being spoofed by the form. $attributes['method'] = ($method == 'PUT' or $method == 'DELETE') ? 'POST' : $method; if ( ! array_key_exists('accept-charset', $attributes)) @@ -35,12 +32,8 @@ class Form { $html = '