From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 19 Dec 2024 04:07:32 +0000 (+0100)
Subject: Fix tags not showing in file view.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/bar%20baz.html?a=commitdiff_plain;h=97d0ce94d0956cf5392d8b4b823965fa111917ef;p=ytplom

Fix tags not showing in file view.
---

diff --git a/src/templates/file_data.tmpl b/src/templates/file_data.tmpl
index 37c1225..da8726f 100644
--- a/src/templates/file_data.tmpl
+++ b/src/templates/file_data.tmpl
@@ -34,7 +34,7 @@ td.tag_checkboxes { width: 1em; }
 <th>tags</th>
 <td>
 <table>
-{% for tag in self.tags_showable %}
+{% for tag in file.tags_showable %}
 <tr>
 <td class="tag_checkboxes"><input type="checkbox" name="tags" value="{{tag}}" checked{% if not allow_edit %} disabled{% endif %}/></td>
 <td>{{tag}}</td>