title = $model->title; $this->params['breadcrumbs'][] = ['label' => 'Questionnaire Categories', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?>

'btn btn-primary']) ?> $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', 'title', [ 'attribute' => 'status', 'format' => 'raw', 'value' => function ($model) { return \yii\helpers\Html::tag( 'span', $model->status ? 'Active' : 'Not Active', [ 'class' => 'label label-' . ($model->status ? 'success' : 'danger'), ] ); }, ], 'created_at', 'updated_at', ], ]) ?>