diff --git a/lnbits/templates/error.html b/lnbits/templates/error.html
index f595131b4..afa5b59d9 100644
--- a/lnbits/templates/error.html
+++ b/lnbits/templates/error.html
@@ -39,26 +39,21 @@
-
- {% endblock %} {% block scripts %}
-
-
-
- {% endblock %}
+
+{% endblock %} {% block scripts %}
+
+{% endblock %}