/** * @var yii\web\View $this * @var backend\models\Country $model */ $this->title = Yii::t('app', 'Assign roles to ') . ' "' . $model->user->username . '"'; $this->params['breadcrumbs'][] = ['label' => 'Employees', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => (string) $model->user->username, 'url' => ['view', 'id' => $model->user->id]]; $this->params['breadcrumbs'][] = Yii::t('app', 'Assign'); ?> <?php $this->beginBlock('content-header'); ?> <div class="col-sm-8"> <h2><?php echo Html::encode($this->title); ?> </h2> <?php echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]); ?> </div> <div class="col-sm-4"> <div class="title-action"> <?php echo Html::a('<span class="glyphicon glyphicon-list"></span> ' . Yii::t('app', 'Back'), ['index'], ['class' => 'btn btn-default']); ?> </div> </div> <?php $this->endBlock();