Commit 2d413044 authored by cviebrock's avatar cviebrock

Add HTML5 date field support.

parent 96b43e90
......@@ -304,6 +304,19 @@ class Form {
{
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment