fastadmin 多选,单选,不选

文档

https://static.kancloud.cn/wangzhaozhen/fastadmin/2291938

多选

<div class="form-group">
                        <label class="control-label col-xs-12 col-sm-4">{:__('拒绝原因')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            {:build_checkboxs('row[sh_reason]', ['学历不符'=>'学历不符','专业不符'=>'专业不符','照片不合格'=>'照片不合格','简历填写不规范'=>'简历填写不规范'], $row['sh_reason'])}
                        </div>
                    </div>

单选

 <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-4">{:__('拒绝再次报名')}:</label>
                        <div class="col-xs-12 col-sm-8">
                                        
                           
                            {:build_radios('row[sh_jujue]', ['否'=>__('默认'), '是'=>__('资格不符,彻底拒绝')], $row['sh_jujue'])}
                        
                
                        </div>
                    </div>

不选

  {:build_radios('row[sh_jujue]', ['否'=>__('默认'), '是'=>__('资格不符,彻底拒绝')], [])}
posted @ 2024-03-05 17:37  风意不止  阅读(542)  评论(0编辑  收藏  举报