Add tests and checkbox handling

This commit is contained in:
Victor Isadov committed 2016-08-13 12:26:27 +03:00
1 parent 45fe4e7988
commit 16264f1c8d
3 files changed
+23 -11

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ class HtmlServiceProvider extends ServiceProvider
protected function registerFormBuilder()
{
$this->app->singleton('form', function ($app) {
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken());
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken(), $app['request']);
return $form->setSessionStore($app['session.store']);
});