mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 13:44:58 -06:00
Code formatting and a reference to a new form element.
This commit is contained in:
parent
d54832f61f
commit
07caeccf68
@ -72,30 +72,51 @@ App::down(
|
|||||||
);
|
);
|
||||||
|
|
||||||
// forms:
|
// forms:
|
||||||
\Form::macro('ffText', function ($name, $value = null, array $options = []) {
|
\Form::macro(
|
||||||
return \Firefly\Form\Form::ffText($name, $value, $options);
|
'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(
|
||||||
\Form::macro('ffInteger', function ($name, $value = null, array $options = []) {
|
'ffSelect', function ($name, array $list = [], $selected = null, array $options = []) {
|
||||||
return \Firefly\Form\Form::ffInteger($name, $value, $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(
|
||||||
});
|
'ffInteger', function ($name, $value = null, array $options = []) {
|
||||||
\Form::macro('ffDate', function ($name, $value = null, array $options = []) {
|
return \Firefly\Form\Form::ffInteger($name, $value, $options);
|
||||||
return \Firefly\Form\Form::ffDate($name, $value, $options);
|
}
|
||||||
});
|
);
|
||||||
\Form::macro('ffTags', function ($name, $value = null, array $options = []) {
|
\Form::macro(
|
||||||
return \Firefly\Form\Form::ffTags($name, $value, $options);
|
'ffAmount', function ($name, $value = null, array $options = []) {
|
||||||
});
|
return \Firefly\Form\Form::ffAmount($name, $value, $options);
|
||||||
\Form::macro('ffCheckbox',function ($name, $value = 1, $checked = null, $options = []) {
|
}
|
||||||
return \Firefly\Form\Form::ffCheckbox($name, $value, $checked, $options);
|
);
|
||||||
});
|
\Form::macro(
|
||||||
\Form::macro('ffOptionsList',function ($type, $name) {
|
'ffBalance', function ($name, $value = null, array $options = []) {
|
||||||
return \Firefly\Form\Form::ffOptionsList($type, $name);
|
return \Firefly\Form\Form::ffBalance($name, $value, $options);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
\Form::macro(
|
||||||
|
'ffDate', function ($name, $value = null, array $options = []) {
|
||||||
|
return \Firefly\Form\Form::ffDate($name, $value, $options);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
\Form::macro(
|
||||||
|
'ffTags', function ($name, $value = null, array $options = []) {
|
||||||
|
return \Firefly\Form\Form::ffTags($name, $value, $options);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
\Form::macro(
|
||||||
|
'ffCheckbox', function ($name, $value = 1, $checked = null, $options = []) {
|
||||||
|
return \Firefly\Form\Form::ffCheckbox($name, $value, $checked, $options);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
\Form::macro(
|
||||||
|
'ffOptionsList', function ($type, $name) {
|
||||||
|
return \Firefly\Form\Form::ffOptionsList($type, $name);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user