|
@ -17,7 +17,7 @@ use backend\modules\goods\models\ars\Category; |
|
|
|
|
|
|
|
|
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
|
|
|
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], Category::modelColumn())) ?>
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], Category::modelColumn($model))) ?>
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'sort_order')->textInput() ?>
|
|
|
<?= $form->field($model, 'sort_order')->textInput() ?>
|
|
|
|
|
|
|
|
|