diff --git a/templates/org/create.tmpl b/templates/org/create.tmpl
index 999f5246a..26c432303 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 e5266f13c..f6786f3d8 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 20341e576..0f9b377f2 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 612116f40..1ef031ee1 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 06912b27f..5e6b3b452 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 3bc615631..f56f9df5e 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 a5b1f1950..c4249f890 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 fa68cee89..a959833e9 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 01936e028..6d331b9e8 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 e411d4776..18256aca5 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 0172e1b70..28ba8e2e2 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 3db9d19ee..d38d84d95 100644
--- a/templates/user/project.tmpl
+++ b/templates/user/project.tmpl
@@ -60,7 +60,6 @@
- {{.locale.Tr "cancel"}}