Remove short open tag

This commit is contained in:
Korzinkayablok 2021-09-14 17:23:28 +03:00
parent b2b3a7b462
commit 8182a9236a

View File

@ -100,7 +100,7 @@ $this->params['breadcrumbs'][] = $this->title;
<h2>Достижения</h2> <h2>Достижения</h2>
<?php foreach ($achievements as $achievement) : ?> <?php foreach ($achievements as $achievement) : ?>
<a target="_blank" <a target="_blank"
href="<? \yii\helpers\Url::to(['/achievements/achievements/view', 'id' => $achievement['achievement']->id]);?>" href="<?php \yii\helpers\Url::to(['/achievements/achievements/view', 'id' => $achievement['achievement']->id]);?>"
class="btn btn-default btn-sm"> class="btn btn-default btn-sm">
<?= Html::tag('img', null, <?= Html::tag('img', null,
['src' => $achievement['achievement']->img, 'height' => '50px', 'width' => '50px'] ['src' => $achievement['achievement']->img, 'height' => '50px', 'width' => '50px']