Commit 027b5253 by jomon

code review changes

parent b99834fe
...@@ -39,9 +39,7 @@ use trntv\filekit\widget\Upload; ...@@ -39,9 +39,7 @@ use trntv\filekit\widget\Upload;
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-md-3">
<?= $form->field($model, 'image')->widget( <?= $form->field($model, 'image')->widget(Upload::className(), [
Upload::className(),
[
'url' => ['/file-storage/upload'], 'url' => ['/file-storage/upload'],
])->label('Image'); ])->label('Image');
?> ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment