diff --git a/plinth/modules/pagekite/templates/pagekite_configure.html b/plinth/modules/pagekite/templates/pagekite_configure.html
index 706348a1c..ad686a95c 100644
--- a/plinth/modules/pagekite/templates/pagekite_configure.html
+++ b/plinth/modules/pagekite/templates/pagekite_configure.html
@@ -9,68 +9,59 @@
{% block page_head %}
-
{% endblock %}
{% block configuration %}
{{ block.super }}
-
+ {% trans "Custom Services" %}
- {% trans "Custom Services" %}
-
-
-
- {% trans 'Add Custom Service' %}
-
+
+
+
+ {% trans 'Add Custom Service' %}
+
+
{% if custom_services %}
-
-
{% trans "Existing custom services" %}
-
-
- {% for service in custom_services %}
-
-
-
- {% if service.url|slice:":4" == "http" %}
- {{ service.url }}
- {% else %}
- {{ service.url }}
- {% endif %}
-
- {% blocktrans trimmed with backend_host=service.backend_host backend_port=service.backend_port %}
- connected to {{ backend_host }}:{{ backend_port }}
- {% endblocktrans %}
-
+
+ {% for service in custom_services %}
+
+
+
+ {% if service.url|slice:":4" == "http" %}
+ {{ service.url }}
+ {% else %}
+ {{ service.url }}
+ {% endif %}
+
+ {% blocktrans trimmed with backend_host=service.backend_host backend_port=service.backend_port %}
+ connected to {{ backend_host }}:{{ backend_port }}
+ {% endblocktrans %}
-
-
- {% endfor %}
-
+
+
+
+ {% endfor %}
{% endif %}