diff --git a/templates/admin/repo/unadopted.tmpl b/templates/admin/repo/unadopted.tmpl
index 7ff41d503..a8e04850d 100644
--- a/templates/admin/repo/unadopted.tmpl
+++ b/templates/admin/repo/unadopted.tmpl
@@ -43,7 +43,16 @@
- {{template "base/delete_modal_actions" .}}
+
+
+
+
@@ -61,7 +70,16 @@
- {{template "base/delete_modal_actions" .}}
+
+
+
+
diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl
index 2e107ca7f..6742cb167 100644
--- a/templates/user/settings/repos.tmpl
+++ b/templates/user/settings/repos.tmpl
@@ -50,7 +50,16 @@
{{$.CsrfTokenHtml}}
- {{template "base/delete_modal_actions" .}}
+
+
+
+
{{end}}
@@ -68,7 +77,7 @@
{{$.CsrfTokenHtml}}
- {{template "base/delete_modal_actions" .}}
+ {{template "base/delete_modal_actions" $}}
{{end}}