public function actionIndex()
 {
     $model = new BasicSettingForm();
     $themes = SettingController::getThemes();
     $model->appTour = Yii::$app->config->get(Enum::APP_TOUR, '1');
     if ($model->load(Yii::$app->request->post())) {
         if ($model->validate()) {
             Yii::$app->config->set(Enum::APP_NAME, $model->appName);
             Yii::$app->config->set(Enum::ADMIN_EMAIL, $model->adminMail);
             Yii::$app->config->set(Enum::APP_BACKEND_THEME, $model->appBackendTheme);
             Yii::$app->config->set(Enum::APP_FRONTEND_THEME, $model->appFrontendTheme);
             Yii::$app->config->set(Enum::CACHE_CLASS, $model->cacheClass);
             Yii::$app->config->set(Enum::APP_TOUR, $model->appTour);
             $config = Configuration::get();
             $config['components']['cache'] = $model->cacheClass;
             Configuration::set($config);
             Yii::$app->session->setFlash('success', 'Settings Saved');
         }
     }
     return $this->render('index', ['model' => $model, 'themes' => $themes]);
 }
	<div class="wrap" style="padding-top: 70px">
		<?php 
echo $this->render('nav');
?>

		<div class="container-fluid">
			<?php 
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
			<div class="row">
				<?php 
if (!Yii::$app->user->isGuest && Yii::$app->controller->id != 'account') {
    ?>
					<div class="col-md-2">
						<?php 
    echo SideNav::widget(['type' => SideNav::TYPE_DEFAULT, 'heading' => '<i class="glyphicon glyphicon-tasks"></i> Manage', 'items' => \backend\controllers\admin\SettingController::getMenuItems()]);
    ?>
					</div>
				<?php 
}
?>

				<div class="col-md-9">
					<?php 
echo $content;
?>
				</div>
			</div>
		</div>
	</div>