aboutsummaryrefslogtreecommitdiff
path: root/templates/projects/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/projects/new.tmpl')
-rw-r--r--templates/projects/new.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/projects/new.tmpl b/templates/projects/new.tmpl
index c96f948de..826869ac5 100644
--- a/templates/projects/new.tmpl
+++ b/templates/projects/new.tmpl
@@ -21,6 +21,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>