diff options
author | Romain <romdum@users.noreply.github.com> | 2021-10-05 21:21:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 21:21:52 +0200 |
commit | 167914cf8b1407448c668c53530ef6dc579a89f8 (patch) | |
tree | 7bd72c65c70f4102d76631deb1db64158e5f4088 /templates | |
parent | 987152ba408b03fe0b15dd9c72dfd1614b4159fd (diff) | |
download | gitea-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.tmpl | 1 |
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> |