Commit 01a3e99029031d0be78c721f70c187f143679f26
1 parent
01836820
add Vitaliy's widgets
Showing
2 changed files
with
4 additions
and
3 deletions
Show diff stats
backend/assets/FileUploadAsset.php
... | ... | @@ -19,9 +19,11 @@ use yii\web\AssetBundle; |
19 | 19 | class FileUploadAsset extends AssetBundle |
20 | 20 | { |
21 | 21 | public $sourcePath = '@bower/blueimp-file-upload/'; |
22 | + | |
22 | 23 | public $css = [ |
23 | 24 | 'css/jquery.fileupload.css' |
24 | 25 | ]; |
26 | + | |
25 | 27 | public $js = [ |
26 | 28 | 'js/vendor/jquery.ui.widget.js', |
27 | 29 | 'js/jquery.iframe-transport.js', | ... | ... |
frontend/controllers/SiteController.php
... | ... | @@ -183,9 +183,8 @@ class SiteController extends Controller |
183 | 183 | * |
184 | 184 | * @return mixed |
185 | 185 | */ |
186 | - public function actionSignup() | |
186 | + public function actionRegistration() | |
187 | 187 | { |
188 | - $this->layout = 'admin'; | |
189 | 188 | |
190 | 189 | $model = new SignupForm(); |
191 | 190 | if ($model->load(Yii::$app->request->post())) { |
... | ... | @@ -203,7 +202,7 @@ class SiteController extends Controller |
203 | 202 | } |
204 | 203 | } |
205 | 204 | |
206 | - return $this->render('signup', [ | |
205 | + return $this->render('registration', [ | |
207 | 206 | 'model' => $model, |
208 | 207 | ]); |
209 | 208 | } | ... | ... |