Skip to content

Commit

Permalink
Add image uploader for mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
sleemy1997 committed Apr 17, 2018
1 parent f5fa709 commit a7717e4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions views/widget-carousel/item/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
]
) ?>

<?php echo $form->field($model, 'imageMobile')->widget(
\trntv\filekit\widget\Upload::className(),
[
'url' => ['upload'],
]
) ?>

<?php echo $form->field($model, 'order')->textInput() ?>

<?php echo $form->field($model, 'url')->textInput(['maxlength' => 1024]) ?>
Expand Down

0 comments on commit a7717e4

Please sign in to comment.