New buttons.

This commit is contained in:
Sander Dorigo
2014-10-08 21:04:31 +02:00
parent 1fbdb3d0ae
commit 1e76a5fc3f
3 changed files with 39 additions and 0 deletions

View File

@@ -190,6 +190,14 @@ class Form
*/
$options['placeholder'] = ucfirst($name);
/*
* Get prefilled value:
*/
if(\Session::has('prefilled')) {
$prefilled = \Session::get('prefilled');
$value = isset($prefilled[$name]) ? $prefilled[$name] : null;
}
/*
* Get the value.
*/