Better link for tags.

This commit is contained in:
James Cole
2020-04-07 18:19:29 +02:00
parent edac26f757
commit 136af9625a
4 changed files with 25 additions and 2 deletions

View File

@@ -260,8 +260,8 @@
<td>{{ 'tags'|_ }}</td>
<td>
{% for tag in journal.tags %}
<h4 style="display: inline;"><a class="label label-success" href="{{ route('tags.show', tag) }}">
<i class="fa fa-fw fa-tag"></i>{{ tag }}</a>
<h4 style="display: inline;"><a class="label label-success" href="{{ route('tags.show', tag.id) }}">
<i class="fa fa-fw fa-tag"></i>{{ tag.tag }}</a>
</h4>
{% endfor %}
</td>