mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Web editor: improve delete file process
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user