Changed default input type to "text" from "input" which was a typo.

This commit is contained in:
Josh Sherman 2011-01-15 22:00:33 -05:00
parent 861311a7f3
commit c4ee198a8e

View file

@ -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)
{