Commit ac277c58 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #296 from cviebrock/develop

Date field support, please?
parents f3a78490 2d413044
...@@ -304,6 +304,19 @@ class Form { ...@@ -304,6 +304,19 @@ class Form {
{ {
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.
......
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