Commit fa57945d authored by Shakarim Sapa's avatar Shakarim Sapa

- Link has been updated

parent 7d2b101c
<?php <?php
use yii\helpers\Url;
use common\modules\school\models\Courses;
use common\modules\school\assets\WidgetAssetBundle; use common\modules\school\assets\WidgetAssetBundle;
use yii\helpers\Html;
WidgetAssetBundle::register($this); WidgetAssetBundle::register($this);
?> ?>
...@@ -14,7 +13,7 @@ WidgetAssetBundle::register($this); ...@@ -14,7 +13,7 @@ WidgetAssetBundle::register($this);
<h1 class="kurs_title"><span><?php echo $model->n;?></span></h1><br> <h1 class="kurs_title"><span><?php echo $model->n;?></span></h1><br>
<span class="kurs_sub-title"><?php echo $model->description;?></span> <span class="kurs_sub-title"><?php echo $model->description;?></span>
<div class="kurs_foot clearfix"> <div class="kurs_foot clearfix">
<a href="<?php echo Url::toRoute(['/school/course/view', 'id' => $model->id]);?>" class="kurs_bt">Подробнее</a> <?php Html::a('Подробнее', ['/school/course/view', 'id' => $model->id], ['class' => 'kurs_bt']); ?>
</div> </div>
</div> </div>
</div> </div>
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