blob: 1317b1295a2038d63c29f1b91f9f7d746a8e51fe (
plain) (
tree)
|
|
{% if tags is iterable and tags is not empty %}
<ul class="tags{{ listClass|default("")}}">
{% for tag in tags %}
<li class="chip">
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
{% if withRemove %}
<a href="{{ path('remove_tag', { 'entry': entryId, 'tag': tag.id }) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')">
<i class="material-icons vertical-align-middle">delete</i>
</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
|