Changed default input type to "text" from "input" which was a typo.
This commit is contained in:
parent
861311a7f3
commit
c4ee198a8e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Form extends Object
|
|||
* @param string $type optional type of input
|
||||
* @return string HTML for the input
|
||||
*/
|
||||
public function input($name, $value = '', $classes = '', $additional = null, $type = 'input')
|
||||
public function input($name, $value = '', $classes = '', $additional = null, $type = 'text')
|
||||
{
|
||||
if ($additional != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue