Removed alt from achievements images

This commit is contained in:
Korzinkayablok 2021-09-13 13:40:52 +03:00
parent 1d4cf536e5
commit 243a42fe5a
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ $this->params['breadcrumbs'][] = $this->title;
href="<? echo \yii\helpers\Url::to(['/achievements/achievements/view', 'id' => $achievement['achievement']->id]);?>"
class="btn btn-default btn-sm">
<?= Html::tag('img', null,
['src' => $achievement['achievement']->img, 'height' => '50px', 'width' => '50px', 'alt'=> $achievement['achievement']->title]
['src' => $achievement['achievement']->img, 'height' => '50px', 'width' => '50px']
) ?>
<?= $achievement['achievement']->title; ?>
</a>

View File

@ -44,7 +44,7 @@ $this->title = 'Профиль';
href="<? echo \yii\helpers\Url::to(['/achievements/achievements/view', 'id' => $achievement['achievement']->id]);?>"
class="btn btn-default btn-sm">
<?= Html::tag('img', null,
['src' => $achievement['achievement']->img, 'height' => '50px','width' => '50px', 'alt'=> $achievement['achievement']->title]
['src' => $achievement['achievement']->img, 'height' => '50px','width' => '50px']
) ?>
<?= $achievement['achievement']->title; ?>
</a>