 a43ea22479
			
		
	
	
	
	
	a43ea22479Co-author: @wxiaoguang Close #25096 The way to fix it in this PR is to change form submit to fetch using formData, and add flags to avoid post repeatedly. Should be able to apply to more forms that have the same issue after this PR. In the demo below, 'approve' is clicked several times, and then 'comment' is clicked several time after 'request changes' clicked. After: https://github.com/go-gitea/gitea/assets/17645053/beabeb1d-fe66-4b76-b048-4f022b4e83a0 Update: screenshots from /devtest >  > >  > >  --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			201 B
		
	
	
	
		
			Go HTML Template
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			201 B
		
	
	
	
		
			Go HTML Template
		
	
	
	
	
	
| {{template "base/head" .}}
 | |
| 
 | |
| <ul>
 | |
| 	{{range .SubNames}}
 | |
| 	<li><a href="{{AppSubUrl}}/devtest/{{.}}">{{.}}</a></li>
 | |
| 	{{end}}
 | |
| </ul>
 | |
| 
 | |
| <style>
 | |
| ul {
 | |
| 	line-height: 2em;
 | |
| }
 | |
| </style>
 | |
| 
 | |
| {{template "base/footer" .}}
 |