diff --git a/src/zumanji/templates/zumanji/includes/build_details.html b/src/zumanji/templates/zumanji/includes/build_details.html
index 13b9e02..70302a6 100644
--- a/src/zumanji/templates/zumanji/includes/build_details.html
+++ b/src/zumanji/templates/zumanji/includes/build_details.html
@@ -11,10 +11,14 @@
{{ build.num_tests }}
Datetime
{{ build.datetime }}
- Tags
-
- {% for tag in build.tags.all %}
- {{ tag.label }}{% if not forloop.last %}, {% endif %}
- {% endfor %}
-
+ {% with build.tags.all as tags %}
+ {% if tags %}
+ Tags
+
+ {% for tag in tags %}
+ {{ tag.label }}{% if not forloop.last %}, {% endif %}
+ {% endfor %}
+
+ {% endif %}
+ {% endwith %}
\ No newline at end of file