From 0055cbd3651ebde0f8b6cc70c9c44de56dc38830 Mon Sep 17 00:00:00 2001 From: Martin van Beurden Date: Sun, 14 Sep 2014 19:35:22 +0200 Subject: Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/ Conflicts: modules/setting/setting.go Conflicts: templates/repo/release/list.tmpl templates/user/dashboard/dashboard.tmpl Conflicts: routers/repo/setting.go --- templates/repo/create.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/repo/create.tmpl') diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 6baa6d31e0..7b3c85ae64 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -1,7 +1,7 @@ {{template "ng/base/head" .}} {{template "ng/base/header" .}}
-
+ {{.CsrfTokenHtml}}

{{.i18n.Tr "new_repo"}}

@@ -75,7 +75,7 @@
- {{.i18n.Tr "cancel"}} + {{.i18n.Tr "cancel"}}
-- cgit v1.2.3