<?php $this->beginPage(); ?> <!DOCTYPE html> <html lang="<?php echo \Yii::$app->language; ?> "> <head> <meta charset="<?php echo \Yii::$app->charset; ?> "> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php echo yii\helpers\Html::csrfMetaTags(); ?> <title><?php echo yii\helpers\Html::encode($this->title); ?> </title> <?php $this->head(); ?> </head> <body> <?php $this->beginBody(); ?> <div class="wrap">