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.

18 lines
369 B

7 years ago
<?php
3 years ago
use core\entities\post\PostType;
use yii\helpers\Html;
7 years ago
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\DataProviderInterface */
3 years ago
/* @var $type PostType */
7 years ago
$this->title = $type->plural;
$this->params['breadcrumbs'][] = $this->title;
?>
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render( '_list', [
'dataProvider' => $dataProvider
]) ?>