diff --git a/plinth/modules/diagnostics/templates/diagnostics_button.html b/plinth/modules/diagnostics/templates/diagnostics_button.html
index 48fd00223..8883e0f56 100644
--- a/plinth/modules/diagnostics/templates/diagnostics_button.html
+++ b/plinth/modules/diagnostics/templates/diagnostics_button.html
@@ -9,7 +9,7 @@
{% csrf_token %}
{% if enabled %}
-
{% else %}