mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Remove errant third closing curly-bracket from account.tmpl and send account ID in account.tmpl (#11130)
* Remove errant third } from account.tmpl Fix #11128 Signed-off-by: Andrew Thornton <art27@cantab.net> * Update templates/user/settings/account.tmpl
This commit is contained in:
		@@ -92,7 +92,7 @@
 | 
				
			|||||||
								<form action="{{AppSubUrl}}/user/settings/account/email" method="post">
 | 
													<form action="{{AppSubUrl}}/user/settings/account/email" method="post">
 | 
				
			||||||
									{{$.CsrfTokenHtml}}
 | 
														{{$.CsrfTokenHtml}}
 | 
				
			||||||
									<input name="_method" type="hidden" value="SENDACTIVATION">
 | 
														<input name="_method" type="hidden" value="SENDACTIVATION">
 | 
				
			||||||
									<input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}}.ID{{end}}">
 | 
														<input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}{{.ID}}{{end}}">
 | 
				
			||||||
									{{if $.ActivationsPending}}
 | 
														{{if $.ActivationsPending}}
 | 
				
			||||||
										<button disabled class="ui blue tiny button">{{$.i18n.Tr "settings.activations_pending"}}</button>
 | 
															<button disabled class="ui blue tiny button">{{$.i18n.Tr "settings.activations_pending"}}</button>
 | 
				
			||||||
									{{else}}
 | 
														{{else}}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user