diff --git a/backend/assets/FileUploadAsset.php b/backend/assets/FileUploadAsset.php index 0dd7e42..916ebf5 100755 --- a/backend/assets/FileUploadAsset.php +++ b/backend/assets/FileUploadAsset.php @@ -19,9 +19,11 @@ use yii\web\AssetBundle; class FileUploadAsset extends AssetBundle { public $sourcePath = '@bower/blueimp-file-upload/'; + public $css = [ 'css/jquery.fileupload.css' ]; + public $js = [ 'js/vendor/jquery.ui.widget.js', 'js/jquery.iframe-transport.js', diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index c97ed0e..d45ee4f 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -183,9 +183,8 @@ class SiteController extends Controller * * @return mixed */ - public function actionSignup() + public function actionRegistration() { - $this->layout = 'admin'; $model = new SignupForm(); if ($model->load(Yii::$app->request->post())) { @@ -203,7 +202,7 @@ class SiteController extends Controller } } - return $this->render('signup', [ + return $this->render('registration', [ 'model' => $model, ]); } -- libgit2 0.21.4