]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig
1317b1295a2038d63c29f1b91f9f7d746a8e51fe
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / _tags.html.twig
1 {% if tags is iterable and tags is not empty %}
2 <ul class="tags{{ listClass|default("")}}">
3 {% for tag in tags %}
4 <li class="chip">
5 <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
6 {% if withRemove %}
7 <a href="{{ path('remove_tag', { 'entry': entryId, 'tag': tag.id }) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')">
8 <i class="material-icons vertical-align-middle">delete</i>
9 </a>
10 {% endif %}
11 </li>
12 {% endfor %}
13 </ul>
14 {% endif %}