Merge pull request #296 from cviebrock/develop

Date field support, please?
This commit is contained in:
Taylor Otwell 2012-02-01 06:45:24 -08:00
commit ac277c58e6
1 changed files with 13 additions and 0 deletions

View File

@ -305,6 +305,19 @@ public static function number($name, $value = null, $attributes = array())
return static::input('number', $name, $value, $attributes); return static::input('number', $name, $value, $attributes);
} }
/**
* Create a HTML date input element.
*
* @param string $name
* @param string $value
* @param array $attributes
* @return string
*/
public static function date($name, $value = null, $attributes = array())
{
return static::input('date', $name, $value, $attributes);
}
/** /**
* Create a HTML file input element. * Create a HTML file input element.
* *