diff --git a/plinth/modules/tor/templates/tor.html b/plinth/modules/tor/templates/tor.html
index 944c5c096..371f354cc 100644
--- a/plinth/modules/tor/templates/tor.html
+++ b/plinth/modules/tor/templates/tor.html
@@ -58,30 +58,26 @@
{% include "diagnostics_button.html" with module="tor" enabled=status.enabled %}
{% if status.hs_enabled %}
-
-
-
-
-
- | {% trans "Hidden Service" %} |
- {% trans "Status" %} |
- {% trans "Ports" %} |
-
-
-
-
- | {{ status.hs_hostname }} |
- {{ status.hs_status }} |
-
- {% for service in status.hs_services %}
- {{ service }}
- {% endfor %}
- |
-
-
-
-
-
+
+
+
+ | {% trans "Hidden Service" %} |
+ {% trans "Status" %} |
+ {% trans "Ports" %} |
+
+
+
+
+ | {{ status.hs_hostname }} |
+ {{ status.hs_status }} |
+
+ {% for service in status.hs_services %}
+ {{ service }}
+ {% endfor %}
+ |
+
+
+
{% endif %}
{% trans "Configuration" %}
@@ -105,7 +101,7 @@
{% endblocktrans %}