registerCss($cssString); ?>
field($model, 'pid')->dropDownList(Category::getDropDownList(Category::lists()), ['prompt' => '请选择']) ?> field($model, 'pid')->dropDownList(Category::getDropDownList(Tree::build(Category::listsByType(0))), ['prompt' => '请选择']) ?> field($model, 'type')->dropDownList(Category::getTypeEnum(), ['readonly' => true]) ?> field($model, 'title')->textInput(['maxlength' => true]) ?> field($model, 'slug')->textInput(['maxlength' => true]) ?> field($model, 'sort')->textInput() ?> field($model, 'description')->textarea(['maxlength' => true]) ?> field($model, 'module')->checkboxList(\common\models\ArticleModule::getTypeEnum()) ?> boxField($model, 'meta',["collapsed"=>true])->widget(MetaForm::className())->header("SEO"); ?>
isNewRecord ? '创建' : '更新', ['class' => $model->isNewRecord ? 'btn btn-success btn-block' : 'btn btn-primary btn-block']) ?>
registerJs($js); ?>