summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRomain <romdum@users.noreply.github.com>2021-10-05 21:21:52 +0200
committerGitHub <noreply@github.com>2021-10-05 21:21:52 +0200
commit167914cf8b1407448c668c53530ef6dc579a89f8 (patch)
tree7bd72c65c70f4102d76631deb1db64158e5f4088 /templates
parent987152ba408b03fe0b15dd9c72dfd1614b4159fd (diff)
downloadgitea-167914cf8b1407448c668c53530ef6dc579a89f8.tar.gz
gitea-167914cf8b1407448c668c53530ef6dc579a89f8.zip
Redirect on project after issue created (#17211)
close #17011 If user create an issue with button in project view, after issue is created the user is redirect to project view.
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/new_form.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl
index f208416261..1089c82415 100644
--- a/templates/repo/issue/new_form.tmpl
+++ b/templates/repo/issue/new_form.tmpl
@@ -236,5 +236,6 @@
{{end}}
</div>
</div>
+ <input type="hidden" name="redirect_after_creation" value="{{.redirect_after_creation}}">
</div>
</form>