title = \Yii::t('blog', 'Blog Articles'); $this->params[ 'breadcrumbs' ][] = $this->title; ?>

title) ?>

render('_search', ['model' => $searchModel]); ?>

'Blog Article']), [ 'create' ], [ 'class' => 'btn btn-success' ]) ?>

$dataProvider, 'filterModel' => $searchModel, 'columns' => [ 'id', [ 'attribute' => 'title', 'value' => 'lang.title', ], 'imageUrl:image', [ 'attribute' => 'status', 'value' => function($model) { /** * @var BlogArticle $model */ return ( !$model->status ) ? \Yii::t('blog', 'Not active') : \Yii::t('blog', 'Active'); }, 'filter' => [ 0 => \Yii::t('blog', 'Not active'), 1 => \Yii::t('blog', 'Active'), ], ], 'created_at:date', 'updated_at:date', [ 'class' => 'yii\grid\ActionColumn' ], ], ] ); ?>