controller->action->id === 'login') { /** * Do not use this code in your template. Remove it. * Instead, use the code $this->layout = '//main-login'; in your controller. */ echo $this->render( 'main-login', ['content' => $content] ); } else { \dmstr\web\AdminLteAsset::register($this); \common\assets\CommonAsset::register($this); \backend\assets\AppAsset::register($this); $directoryAsset = Yii::$app->assetManager->getPublishedUrl('@vendor/almasaeed2010/adminlte/dist'); ?> beginPage() ?>
= Html::csrfMetaTags() ?>