1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-23 09:58:27 +00:00

fix links to prevent 404 after e.g. submitting a faulty form (#3982)

This commit is contained in:
David Schneiderbauer
2018-05-19 03:02:04 +02:00
committed by techknowlogick
parent b574af27b8
commit 0857e289d5
4 changed files with 12 additions and 12 deletions

View File

@@ -10,7 +10,7 @@
{{range $loginSource, $provider := .AccountLinks}}
<div class="item">
<div class="right floated content">
<button class="ui red tiny button delete-button" id="delete-account-link" data-url="{{$.Link}}/account_link" data-id="{{$loginSource.ID}}">
<button class="ui red tiny button delete-button" id="delete-account-link" data-url="{{AppSubUrl}}/user/settings/security/account_link" data-id="{{$loginSource.ID}}">
{{$.i18n.Tr "settings.delete_key"}}
</button>
</div>