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

$model->id, ], [ 'class' => 'btn btn-primary' ] ) ?> $model->id, ], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => 'Are you sure you want to delete this item?', 'method' => 'post', ], ] ) ?>

$model, 'attributes' => [ 'id', [ 'attribute' => 'image_id', 'value' => function (Article $model) { if (empty($model->lang->image_id)) { return ''; } else { return $model->lang->image->getImg( [ 'width' => '500px', ] ); } }, 'format' => 'html', ], 'created_at:date', 'updated_at:date', [ 'attribute' => 'status', 'value' => ( !$model->status ) ? \Yii::t('blog', 'Not active') : \Yii::t('blog', 'Active'), ], 'lang.body:html', ], ] ) ?>