added several of the new html5 form elements. added support for attributes such as required, autofocus, etc.

This commit is contained in:
Taylor Otwell
2011-07-02 07:37:37 -05:00
parent a9029ddfe9
commit cd33e81702
3 changed files with 75 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ return array(
'GET /' => function()
{
return Form::input('email', 'email', '', array('required', 'class' => 'awesome'));
return View::make('home/index');
},