Commit 03f236b7 authored by Shakarim Sapa's avatar Shakarim Sapa

- Test

parent 666a04b5
......@@ -49,15 +49,16 @@ class CourseController extends FrontendController
$search = \Yii::$app->request->queryParams;
$dataProvider = $searchModel->search($search);
/*$modelUser = new User();
$modelUser = new User();
$modelLogin = new LoginForm();
$formPopup = new \common\components\BaseForm('/common/modules/users/forms/RegistrationUserPopupForm', $modelUser);
//$form = new \common\components\BaseForm('/common/modules/users/forms/RegistrationUserForm', $modelUser);
//$formLogin = new \common\components\BaseForm('/common/modules/users/forms/LoginForm', $modelLogin);
$formLoginPopup = new \common\components\BaseForm('/common/modules/users/forms/LoginPopupForm', $modelLogin);*/
$formLoginPopup = new \common\components\BaseForm('/common/modules/users/forms/LoginPopupForm', $modelLogin);
return $this->render('index', ['dataProvider' => $dataProvider,
/*'formPopup' => $formPopup->out, 'formLoginPopup' => $formLoginPopup->out*/]);
'formPopup' => $formPopup->out, 'formLoginPopup' => $formLoginPopup->out
]);
}
public function actionView($id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment