close #11, close #10

This commit is contained in:
Sander Dorigo
2014-10-05 08:27:49 +02:00
parent b3209d3b4d
commit ec601efa6e
7 changed files with 36 additions and 10 deletions

View File

@@ -71,6 +71,20 @@ App::down(
}
);
// forms:
\Form::macro('ffText', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffText($name, $value, $options);
});
\Form::macro('ffSelect', function ($name, array $list = [], $selected = null, array $options = []) {
return \Firefly\Form\Form::ffSelect($name, $list, $selected, $options);
});
\Form::macro('ffAmount', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffAmount($name, $value, $options);
});
\Form::macro('ffDate', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffDate($name, $value, $options);
});
/*
|--------------------------------------------------------------------------
| Require The Filters File