title = $model->lang->title; $this->params[ 'breadcrumbs' ][] = [ 'label' => \Yii::t('blog', 'Blog Articles'), 'url' => [ 'index' ], ]; $this->params[ 'breadcrumbs' ][] = $this->title; ?>
= Html::a( 'Update', [ 'update', 'id' => $model->id, ], [ 'class' => 'btn btn-primary' ] ) ?> = Html::a( 'Delete', [ 'delete', 'id' => $model->id, ], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => 'Are you sure you want to delete this item?', 'method' => 'post', ], ] ) ?>
= DetailView::widget( [ 'model' => $model, 'attributes' => [ 'id', 'imageUrl:image', 'created_at:date', 'updated_at:date', [ 'attribute' => 'status', 'value' => ( !$model->status ) ? \Yii::t('blog', 'Not active') : \Yii::t('blog', 'Active'), ], 'lang.alias', 'lang.body:html', ], ] ) ?>