Merge pull request #3573 from shulard/fix/unknown-withremove-variable
Fix error when withRemove variable is not defined.
This commit is contained in:
commit
228d317204
@ -3,7 +3,7 @@
|
|||||||
{% for tag in tags %}
|
{% for tag in tags %}
|
||||||
<li class="chip">
|
<li class="chip">
|
||||||
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
|
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
|
||||||
{% if withRemove %}
|
{% if withRemove is defined and withRemove == true %}
|
||||||
<a href="{{ path('remove_tag', { 'entry': entryId, 'tag': tag.id }) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')">
|
<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>
|
<i class="material-icons vertical-align-middle">delete</i>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user