_comment.php 477 Bytes
<?php
    /**
     * @var \common\models\Comment $model;
     */
    ?>


<div itemprop="review" class="service-comments style" itemscope="itemscope" itemtype="http://schema.org/Review">
    <div itemprop="author" class="style comments-h-autor"><?=$model->name;?></div>
    <div itemprop="description" class="style comments-h-text"><?=$model->comment;?></div>
    <div itemprop="datePublished" class="style comments-h-date" ><?=date('d.m.Y', $model->created_at);?></div>
</div>