mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 01:27:22 +02:00
Web editor: improve delete file process
This commit is contained in:
1 parent
dad5c15520
commit
0114fdcba4
19 files changed
+217
-174
No files matched your search
@@ -337,6 +337,9 @@ func (f *RemoveUploadFileForm) Validate(ctx *macaron.Context, errs binding.Error
|
||||
|
||||
type DeleteRepoFileForm struct {
|
||||
CommitSummary string `binding:"MaxSize(100)`
|
||||
CommitMessage string
|
||||
CommitChoice string `binding:"Required;MaxSize(50)"`
|
||||
NewBranchName string `binding:"AlphaDashDot;MaxSize(100)"`
|
||||
}
|
||||
|
||||
func (f *DeleteRepoFileForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
|
||||
|
||||
Reference in new issue
Block a user