diff --git a/app/templates/audit.html b/app/templates/audit.html
index c609089..f6aa5e6 100644
--- a/app/templates/audit.html
+++ b/app/templates/audit.html
@@ -26,6 +26,7 @@
{% endfor %}
+{% endif %}
{% set p = perms if perms is defined else request.state.perms %}