|
|
@ -1,7 +1,7 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
use yii\helpers\Html; |
|
|
|
use yii\widgets\ActiveForm; |
|
|
|
use yii\bootstrap4\ActiveForm; |
|
|
|
use antgoods\goods\models\ars\Category; |
|
|
|
use antgoods\goods\models\ars\Brand; |
|
|
|
use antgoods\goods\models\ars\ShopCategory; |
|
|
@ -56,7 +56,11 @@ use antgoods\goods\models\ars\Supplier; |
|
|
|
|
|
|
|
<?= $form->field($model, 'description')->textarea(['rows' => 6]) ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'image')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'image')->widget(\iron\widgets\Upload::className(), [ |
|
|
|
'url' => 'upload', |
|
|
|
'deleteUrl' => 'imageDel', |
|
|
|
'dragdropWidth'=> 800 |
|
|
|
]) ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'model_id')->textInput() ?>
|
|
|
|
|
|
|
|