<?php
use common\modules\school\assets\WidgetAssetBundle;
use yii\helpers\Html;

WidgetAssetBundle::register($this);
?>

<div class="kurs_item">
    <div class="kurs_img">
        <img src="<?php echo $model->image;?>" height="262" width="907" alt="">
    </div>
    <div class="kurs_over">
        <h1 class="kurs_title"><span><?php echo $model->name;?></span></h1><br>
        <span class="kurs_sub-title"><?php echo mb_substr($model->description, 0, 150, 'UTF-8');?></span>
        <div class="kurs_foot clearfix">
            <?php echo Html::a('Подробнее', ['/school/course/view', 'id' => $model->id], ['class' => 'kurs_bt']); ?>
        </div>
    </div>
</div>
