public function create()
{
$f = array();
$f[] = Form::input('title','offerクーポン名');
$f[] = Form::number('coupon_price','クーポン額面',0)->min(0);
$f[ ] = Form::number('use_min_price','クーポンの最低使用量')->min(0);
$f[] = Form::number('coupon_time','クーポンの有効期間')->min(0);
$f[] = Form::number('sort','sort');
$f[] = Form::radio ('place','location',0)->options([['label'=>'ホームページの位置','value'=>1],['label'=>'クーポンの位置 ', 'value'=>0]]);
$f[] = Form::radio('status','status',0)->options([['label'= > 'オン','値'=>1],['ラベル'=>'オフ','値'=>0]]);
## $form = Form::make_post_form('クーポンを追加',$f,Url::build('save'));
$this->assign(compact('form')) ;
return $this->fetch('public/form-builder');