|
|
@ -6,7 +6,7 @@ use blobt\widgets\Icheck; |
|
|
|
use yii\helpers\Url; |
|
|
|
use antgoods\goods\models\ars\Attribute; |
|
|
|
use linyao\widgets\Select2; |
|
|
|
use antgoods\goods\models\ars\Category; |
|
|
|
use antgoods\goods\models\ars\ShopCategory; |
|
|
|
|
|
|
|
/* @var $this yii\web\View */ |
|
|
|
/* @var $model antgoods\goods\models\ars\ShopCategory */ |
|
|
@ -21,7 +21,7 @@ use antgoods\goods\models\ars\Category; |
|
|
|
|
|
|
|
<?= $form->field($model, 'keywords')->textInput(['maxlength' => true]) ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], Category::modelColumn())) ?>
|
|
|
|
<?= $form->field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], ShopCategory::modelColumn())) ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'desc')->textInput(['maxlength' => true]) ?>
|
|
|
|
|
|
|
|