removed some comment bloat from the Form class.
This commit is contained in:
parent
da8c412dbc
commit
46b0a7d8ad
|
@ -34,9 +34,6 @@ public static function open($action = null, $method = 'POST', $attributes = arra
|
|||
|
||||
// If the request method is PUT or DELETE, create a hidden input element with the
|
||||
// request method in it since HTML forms do not support these two methods.
|
||||
//
|
||||
// The Request class will check for this hidden POST element when determining the
|
||||
// request method. If it is present, it will override the real request method.
|
||||
if ($method == 'PUT' or $method == 'DELETE')
|
||||
{
|
||||
$html .= PHP_EOL.static::input('hidden', 'REQUEST_METHOD', $method);
|
||||
|
|
Loading…
Reference in New Issue