mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Remove cancel button from branch protection form (#25063)
It caused bugs. To cancel, just navigate away. - Follows #21381 and #21872 - Resolves #25038 ## Before  ## After  Signed-off-by: Yarden Shoham <git@yardenshoham.com>
This commit is contained in:
		@@ -256,7 +256,6 @@
 | 
			
		||||
 | 
			
		||||
				<div class="field">
 | 
			
		||||
					<button class="ui green button">{{$.locale.Tr "repo.settings.protected_branch.save_rule"}}</button>
 | 
			
		||||
					<button class="ui gray button">{{$.locale.Tr "cancel"}}</button>
 | 
			
		||||
				</div>
 | 
			
		||||
			</div>
 | 
			
		||||
		</form>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user