Commit 2d413044 by cviebrock

Add HTML5 date field support.

parent 96b43e90
......@@ -306,6 +306,19 @@ class Form {
}
/**
* 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.
*
* @param string $name
......
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