Do not use binding at this stage
It wasn't clear how to utilize the "type" field in the .tmpl for our purposes.
This commit is contained in:
		
							parent
							
								
									13bf84e89e
								
							
						
					
					
						commit
						2e803e10c0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -113,8 +113,8 @@ type RepoSettingForm struct {
 | 
			
		|||
	RepoName    string `binding:"Required;AlphaDashDot;MaxSize(100)"`
 | 
			
		||||
	Description string `binding:"MaxSize(2048)"`
 | 
			
		||||
	Website     string `binding:"ValidUrl;MaxSize(1024)"`
 | 
			
		||||
	// ToDo: Do we need validation at this point?
 | 
			
		||||
	FederationRepos        string `binding:"ValidUrl;MaxSize(1024)"`
 | 
			
		||||
 | 
			
		||||
	FederationRepos        string
 | 
			
		||||
	Interval               string
 | 
			
		||||
	MirrorAddress          string
 | 
			
		||||
	MirrorUsername         string
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue