diff --git a/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja b/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja
index a7a033b5..fc066b28 100644
--- a/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja
+++ b/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja
@@ -87,14 +87,14 @@
>
- {% endif %}
- {% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
-
-
-
+ {% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
+
+
+
+ {% endif %}
{% endif %}