0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-26 16:32:50 +01:00

Fix delete u2f keys modal (#18040)

This commit is contained in:
Lunny Xiao 2021-12-20 22:49:06 +08:00 committed by GitHub
parent bcc13f3889
commit ce840bb177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
{{range .U2FRegistrations}} {{range .U2FRegistrations}}
<div class="item"> <div class="item">
<div class="right floated content"> <div class="right floated content">
<button class="ui red tiny button delete-button" id="delete-registration" data-url="{{$.Link}}/u2f/delete" data-id="{{.ID}}"> <button class="ui red tiny button delete-button" data-modal-id="delete-registration" data-url="{{$.Link}}/u2f/delete" data-id="{{.ID}}">
{{$.i18n.Tr "settings.delete_key"}} {{$.i18n.Tr "settings.delete_key"}}
</button> </button>
</div> </div>