Skip to content

Commit

Permalink
Fix tags panel
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Jan 4, 2022
1 parent f16ad7b commit f295fbd
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% load helpers %}
{% load plugin_helpers %}

<div class="card">
<h5 class="card-header">Tags</h5>
<div class="card-body">
{% with url=object|plugin_validated_viewname:"list" %}
{% for tag in object.tags.all %}
{% tag tag url %}
{% empty %}
<span class="text-muted">No tags assigned</span>
{% endfor %}
{% endwith %}
</div>
</div>

0 comments on commit f295fbd

Please sign in to comment.