1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php use common\models\Option; use yii\helpers\Html; use yii\widgets\ActiveForm; use \common\widgets\MultiLangForm; $this->title = 'Мой профиль'; $this->params['breadcrumbs'][] = $this->title; ?> <h1><?= $this->title ?></h1> <?php $form = $this->render('_form', [ 'user' => $user, 'user_info' => $user_info, ]); echo MultiLangForm::widget(['form'=>$form]); ?>