diff --git a/server/templates/tag_list.htm b/server/templates/tag_list.htm
index 301c3aa..3138c61 100644
--- a/server/templates/tag_list.htm
+++ b/server/templates/tag_list.htm
@@ -18,6 +18,15 @@
Super Tags |
Sub Tags |
+ {% macro format_tag(tag) %}
+ {{ tag.id }}
+ {% endmacro %}
+ {% macro format_tag_list(tag_list) %}
+ {% for tag in tag_list|sort(attribute="id") %}
+ {{ format_tag(tag) }}
+ {{ " | " if not loop.last }}
+ {% endfor %}
+ {% endmacro %}
{% for tag in tag_list %}
@@ -30,10 +39,10 @@
{{ tag.use_for_preferences | tenary("Yes", "no") }}
|
- {{ tag.super_tag_list | map(attribute="id") | join(",") }}
+ {{ format_tag_list(tag.super_tag_list) }}
|
- {{ tag.sub_tag_list | map(attribute="id") | join(",") }}
+ {{ format_tag_list(tag.sub_tag_list) }}
|
{% endfor %}