title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Countries', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?>
= Html::a('Update', ['update', 'code' => $model->code], ['class' => 'btn btn-primary']) ?> = Html::a('Delete', ['delete', 'code' => $model->code], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => 'Are you sure you want to delete this item?', 'method' => 'post', ], ]) ?>
= DetailView::widget([ 'model' => $model, 'attributes' => [ 'code', 'name', 'population', ], ]) ?>