['id'=>'modal-form','class' => 'form-horizontal'], 'enableClientValidation' => true]); ?> field($model, 'name', ['template' => '{label}
{input}
','options' =>['class' => 'mb-3 row '],'inputOptions' =>['class' => 'form-control ','placeholder'=>'','autocomplete'=>'off'],'labelOptions' => ['class' => 'col-md-2 col-form-label']]); ?> field($model, 'table_name', ['template' => '{label}
{input}
','options' =>['class' => 'mb-3 row '],'inputOptions' =>['class' => 'form-control ','placeholder'=>'','autocomplete'=>'off'],'labelOptions' => ['class' => 'col-md-2 col-form-label']]); ?> field($model, 'description', ['template' => '{label}
{input}
','options' =>['class' => 'mb-3 row '],'inputOptions' =>['class' => 'form-control ','placeholder'=>'','autocomplete'=>'off'],'labelOptions' => ['class' => 'col-md-2 col-form-label']]); ?> field($model, 'type', ['template' => '{label}
{input}
','options' =>['class' => 'mb-3 row'],'inputOptions' =>['class' => 'form-select ', 'data-dselect-clearable'=>'true','placeholder'=>'','autocomplete'=>'off'],'labelOptions' => ['class' => 'col-md-2 col-form-label']])->dropDownList($model->typeOptions(), ['prompt'=>'请选择']); ?> field($model, 'for_cms', ['template' => '
{input}{label}
','options' =>['class' => 'mb-3 row'],'inputOptions' =>['switch' => 'success','checked'=>$model->for_cms?true:false,'type'=>'checkbox','value'=>1],'labelOptions' => ['data-on-label' => '开启','data-off-label' => '关闭']])->label(''); ?> field($model, 'enable_search', ['template' => '
{input}{label}
','options' =>['class' => 'mb-3 row'],'inputOptions' =>['switch' => 'success','checked'=>$model->enable_search?true:false,'type'=>'checkbox','value'=>1],'labelOptions' => ['data-on-label' => '开启','data-off-label' => '关闭']])->label(''); ?> field($model, 'is_system', ['template' => '
{input}{label}
','options' =>['class' => 'mb-3 row'],'inputOptions' =>['switch' => 'success','checked'=>$model->is_system?true:false,'type'=>'checkbox','value'=>1],'labelOptions' => ['data-on-label' => '开启','data-off-label' => '关闭']])->label(''); ?>