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

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

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