Skip to content

Commit cbf6a04

Browse files
committed
Upd README.md
1 parent 50e4ac6 commit cbf6a04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ use rkit\fileapi\Widget as FileApi;
202202

203203
```php
204204
<li>
205-
<a href="<?= $file->path()?>" target="_blank"><img src="<?= $model->thumb('gallery', '80x80', $file->path())?>"></a>
205+
<a href="<?= $file->path()?>" target="_blank">
206+
<img src="<?= $model->thumb('gallery', '80x80', $file->path())?>">
207+
</a>
206208
<a class="btn btn-lg"><span class="glyphicon glyphicon-remove remove-item" data-remove-item="li"></span></a>
207209
<?= Html::textInput(Html::getInputName($model, $attribute) . '[files][' . $file->id .']', $file->title, [
208210
'class' => 'form-control',

0 commit comments

Comments
 (0)