You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
307 B
20 lines
307 B
7 years ago
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @var $this \yii\web\View
|
||
|
* @var $view string
|
||
|
* @var $posts \core\entities\post\Post[]
|
||
|
*/
|
||
|
|
||
|
?>
|
||
|
|
||
|
<div id="homepage_carousel__1" class="homepage_carousel row">
|
||
|
<?php foreach ($posts as $post): ?>
|
||
|
|
||
|
<?= $this->render($view . '_item', [
|
||
|
'post' => $post
|
||
|
]) ?>
|
||
|
|
||
|
<?php endforeach; ?>
|
||
|
</div>
|