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
371 B

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