Commit 2e57110d authored by Shakarim Sapa's avatar Shakarim Sapa

- Проверяем верстку

parent 2abe0be8
...@@ -95,6 +95,8 @@ WidgetAssetBundle::register($this); ...@@ -95,6 +95,8 @@ WidgetAssetBundle::register($this);
</section> </section>
<div class="white-popup-block mfp-hide"> <div class="white-popup-block mfp-hide">
<?= RegistrationWidget::widget(); ?>
<?= LoginWidget::widget(); ?>
</div> </div>
<?php if (Yii::$app->user->isGuest):?> <?php if (Yii::$app->user->isGuest):?>
......
...@@ -8,6 +8,12 @@ class LoginWidget extends Widget ...@@ -8,6 +8,12 @@ class LoginWidget extends Widget
{ {
public $modelLogin; public $modelLogin;
public $formLoginPopup; public $formLoginPopup;
public function init()
{
parent::init();
}
/** /**
* Executes the widget. * Executes the widget.
* This method is called by {@link CBaseController::endWidget}. * This method is called by {@link CBaseController::endWidget}.
......
...@@ -8,6 +8,12 @@ class RegistrationWidget extends Widget ...@@ -8,6 +8,12 @@ class RegistrationWidget extends Widget
{ {
public $modelUser; public $modelUser;
public $formPopup; public $formPopup;
public function init()
{
parent::init();
}
/** /**
* Executes the widget. * Executes the widget.
* This method is called by {@link CBaseController::endWidget}. * This method is called by {@link CBaseController::endWidget}.
......
...@@ -31,7 +31,7 @@ AppAsset::register($this); ...@@ -31,7 +31,7 @@ AppAsset::register($this);
<?php echo $content ?> <?php echo $content ?>
<?php //echo \Yii::$app->controller->renderPartial('//layouts/foot')?> <?php echo \Yii::$app->controller->renderPartial('//layouts/foot')?>
<?php $this->endBody() ?> <?php $this->endBody() ?>
......
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