title = Yii::t('backend', 'Создание {modelClass}', [ 'modelClass' => 'User', ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('backend', 'Пользователи'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; echo $this->render('_form', [ 'model' => $model, 'roles' => $roles ]);