aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/projects/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/projects/new.tmpl')
-rw-r--r--templates/repo/projects/new.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/projects/new.tmpl b/templates/repo/projects/new.tmpl
index b65601c15..b53a47dc5 100644
--- a/templates/repo/projects/new.tmpl
+++ b/templates/repo/projects/new.tmpl
@@ -24,6 +24,7 @@
<form class="ui form grid" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="eleven wide column">
+ <input type="hidden" id="redirect" name="redirect" value="{{.redirect}}">
<div class="field {{if .Err_Title}}error{{end}}">
<label>{{.locale.Tr "repo.projects.title"}}</label>
<input name="title" placeholder="{{.locale.Tr "repo.projects.title"}}" value="{{.title}}" autofocus required>