F Pualic-Funktion create () {
$ f = array ();
$ f [] = form :: input ('title', 'coupon name');
$ f [] = form: :number( 'coupon_price','Coupon-Nennwert',0)->min(0);
$f[] = Form::number('use_min_price','Coupon-Mindestverbrauch')->min (0);
$f[] = Form::number('coupon_time','Coupon gültigkeitszeitraum')->min(0);
$f[] = Form::number('sort' ,'sort') ;
$f[] = Form::radio('place','position',0)->options([['label'=>'Homepage position','value'= > )-> Optionen([['label'=>'on','value'=>1],['label'=>'off','value'=>0]]);
$form = Form::make_post_form('Add Coupon',$f,Url::build('save'));
Return $this->fetch('public/form-builder');
没太明白 你说的俩接口是什么意思