title = $post->title; $this->params['breadcrumbs'][] = ['label' => Yii::t('blog', 'Comments'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>
= Html::a(Yii::t('blog', 'Comments'), ['index'], ['class' => 'btn btn-default']) ?> = Html::a(Yii::t('buttons', 'Edit'), ['update', 'post_id' => $post->id, 'id' => $comment->id], ['class' => 'btn btn-primary']) ?> isActive()): ?> = Html::a(Yii::t('buttons', 'Delete'), ['delete', 'post_id' => $post->id, 'id' => $comment->id], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => Yii::t('buttons', 'Are you sure you want to delete this item?'), 'method' => 'post', ], ]) ?> = Html::a(Yii::t('buttons', 'Restore'), ['activate', 'post_id' => $post->id, 'id' => $comment->id], [ 'class' => 'btn btn-success', 'data' => [ 'confirm' => Yii::t('buttons', 'Are you sure you want to activate this item?'), 'method' => 'post', ], ]) ?>