portal.mkgtu.ru/common/modules/student/components/block/views/block.php

23 lines
583 B
PHP
Raw Normal View History

2024-03-28 09:51:45 +03:00
<?php
use common\modules\student\components\block\BlockWidget;
$this->title = Yii::$app->name;
?>
<div class="site-index">
<div class="body-content">
<?php
$alert = \Yii::$app->session->getFlash('ErrorSoapResponse');
if (strlen((string)$alert) > 1) {
echo '<div class="alert alert-danger" role="alert">';
echo $alert;
echo '</div>';
} ?>
</div>
<div class="body-content">
<h3>Запись на курсы по выбору</h3>
<?php echo BlockWidget::widget(); ?>
</div>
</div>