Commit 027b5253 by jomon

code review changes

parent b99834fe
...@@ -39,11 +39,9 @@ use trntv\filekit\widget\Upload; ...@@ -39,11 +39,9 @@ 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'],
[ ])->label('Image');
'url' => ['/file-storage/upload'],
])->label('Image');
?> ?>
</div> </div>
......
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