diff --git a/payment/templates/modal_gateways.mustache b/payment/templates/modal_gateways.mustache
index 4d75ceaa452..d4062a0d2ad 100644
--- a/payment/templates/modal_gateways.mustache
+++ b/payment/templates/modal_gateways.mustache
@@ -39,7 +39,7 @@
}}
{{< core/modal }}
{{$footer}}
-
+
{{/footer}}
{{/ core/modal }}