aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 2de92f515f..a43f510484 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -2,6 +2,7 @@
{{template "base/navbar" .}}
<div class="container" id="gogs-body">
<form action="/repo/create" method="post" class="form-horizontal gogs-card" id="gogs-repo-create">
+ {{.CsrfTokenHtml}}
<h3>Create New Repository</h3>
<div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div>
<div class="form-group">