Prevent duplicate form submissions when creating forks (#34714) (#34735)

Backport #34714 by @kerwin612

Co-authored-by: Kerwin Bryant <kerwin612@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Giteabot
2025-06-15 22:35:58 -07:00
committed by GitHub
co-authored by Kerwin Bryant Lunny Xiao
parent 178fd90852
commit 8ab1363fef
3 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
</h3>
<div class="ui attached segment">
{{template "base/alert" .}}
<form class="ui form left-right-form" action="{{.Link}}" method="post">
<form class="ui form form-fetch-action left-right-form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="inline required field {{if .Err_Owner}}error{{end}}">
<label>{{ctx.Locale.Tr "repo.owner"}}</label>