Commit 828be7df authored by Shakarim Sapa's avatar Shakarim Sapa

- Проверяем виджеты

parent 5092c2cd
...@@ -95,7 +95,7 @@ WidgetAssetBundle::register($this); ...@@ -95,7 +95,7 @@ WidgetAssetBundle::register($this);
</section> </section>
<div class="white-popup-block mfp-hide"> <div class="white-popup-block mfp-hide">
<?= RegistrationWidget::widget(); ?> <?php // RegistrationWidget::widget(); ?>
<?php // LoginWidget::widget(); ?> <?php // LoginWidget::widget(); ?>
</div> </div>
......
...@@ -22,7 +22,6 @@ class RegistrationWidget extends Widget ...@@ -22,7 +22,6 @@ class RegistrationWidget extends Widget
{ {
$modelUser = new User(); $modelUser = new User();
$formPopup = new \common\components\BaseForm('/common/modules/users/forms/RegistrationUserPopupForm', $modelUser); $formPopup = new \common\components\BaseForm('/common/modules/users/forms/RegistrationUserPopupForm', $modelUser);
echo 'asd'; return $this->render('RegistrationWidget', ['formPopup' => $formPopup->out]);
// return $this->render('RegistrationWidget', ['formPopup' => $formPopup->out]);
} }
} }
\ No newline at end of file
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