refactoring various things.
This commit is contained in:
@@ -81,7 +81,7 @@ class Form {
|
||||
$attributes['accept-charset'] = $this->html->encoding;
|
||||
}
|
||||
|
||||
$append = ($method == 'PUT' or $method == 'DELETE') ? $this->hidden('REQUEST_METHOD', $method) : '';
|
||||
$append = ($method == 'PUT' or $method == 'DELETE') ? $this->hidden('_REQUEST_METHOD', $method) : '';
|
||||
|
||||
return '<form'.$this->html->attributes($attributes).'>'.$append.PHP_EOL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user