diff --git a/templates/org/create.tmpl b/templates/org/create.tmpl
index 999f5246a3884..26c432303ce00 100644
--- a/templates/org/create.tmpl
+++ b/templates/org/create.tmpl
@@ -48,7 +48,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl
index e5266f13c5e7f..f6786f3d8d519 100644
--- a/templates/org/team/new.tmpl
+++ b/templates/org/team/new.tmpl
@@ -134,7 +134,6 @@
{{if .PageIsOrgTeamsNew}}
-
{{.locale.Tr "cancel"}}
{{else}}
{{if not (eq .Team.LowerName "owners")}}
diff --git a/templates/repo/migrate/codebase.tmpl b/templates/repo/migrate/codebase.tmpl
index 20341e5768de2..0f9b377f212ef 100644
--- a/templates/repo/migrate/codebase.tmpl
+++ b/templates/repo/migrate/codebase.tmpl
@@ -107,7 +107,6 @@
-
{{.locale.Tr "cancel"}}
diff --git a/templates/repo/migrate/git.tmpl b/templates/repo/migrate/git.tmpl
index 612116f40257b..1ef031ee1f814 100644
--- a/templates/repo/migrate/git.tmpl
+++ b/templates/repo/migrate/git.tmpl
@@ -81,7 +81,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/repo/migrate/gitbucket.tmpl b/templates/repo/migrate/gitbucket.tmpl
index 06912b27f52e5..5e6b3b4528394 100644
--- a/templates/repo/migrate/gitbucket.tmpl
+++ b/templates/repo/migrate/gitbucket.tmpl
@@ -123,7 +123,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/repo/migrate/gitea.tmpl b/templates/repo/migrate/gitea.tmpl
index 3bc615631684d..f56f9df5ec7ae 100644
--- a/templates/repo/migrate/gitea.tmpl
+++ b/templates/repo/migrate/gitea.tmpl
@@ -119,7 +119,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/repo/migrate/github.tmpl b/templates/repo/migrate/github.tmpl
index a5b1f195061f0..c4249f8904b80 100644
--- a/templates/repo/migrate/github.tmpl
+++ b/templates/repo/migrate/github.tmpl
@@ -121,7 +121,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/repo/migrate/gitlab.tmpl b/templates/repo/migrate/gitlab.tmpl
index fa68cee8914d4..a959833e96684 100644
--- a/templates/repo/migrate/gitlab.tmpl
+++ b/templates/repo/migrate/gitlab.tmpl
@@ -118,7 +118,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/repo/migrate/gogs.tmpl b/templates/repo/migrate/gogs.tmpl
index 01936e028bbfd..6d331b9e8fe6a 100644
--- a/templates/repo/migrate/gogs.tmpl
+++ b/templates/repo/migrate/gogs.tmpl
@@ -121,7 +121,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/repo/migrate/onedev.tmpl b/templates/repo/migrate/onedev.tmpl
index e411d47760189..18256aca5dc16 100644
--- a/templates/repo/migrate/onedev.tmpl
+++ b/templates/repo/migrate/onedev.tmpl
@@ -107,7 +107,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl
index 0172e1b708298..28ba8e2e2527c 100644
--- a/templates/repo/pulls/fork.tmpl
+++ b/templates/repo/pulls/fork.tmpl
@@ -61,7 +61,6 @@
- {{.locale.Tr "cancel"}}
diff --git a/templates/user/project.tmpl b/templates/user/project.tmpl
index 3db9d19eede11..d38d84d95cfb7 100644
--- a/templates/user/project.tmpl
+++ b/templates/user/project.tmpl
@@ -60,7 +60,6 @@
- {{.locale.Tr "cancel"}}