aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings
diff options
context:
space:
mode:
authorKN4CK3R <KN4CK3R@users.noreply.github.com>2021-04-30 19:25:13 +0200
committerGitHub <noreply@github.com>2021-04-30 19:25:13 +0200
commitc80d7f33b67ad1beff7378bcba3aa44ac84669e9 (patch)
treec479207edb2a5fe0f03d6f5d25b256a244d0dbea /templates/user/settings
parent1456978246c263acd6523534cf36b35f5ddbe0eb (diff)
downloadgitea-c80d7f33b67ad1beff7378bcba3aa44ac84669e9.tar.gz
gitea-c80d7f33b67ad1beff7378bcba3aa44ac84669e9.zip
Unified link creation. (#15619)
Diffstat (limited to 'templates/user/settings')
-rw-r--r--templates/user/settings/organization.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/organization.tmpl b/templates/user/settings/organization.tmpl
index 07b56b90e8..3bab1c8957 100644
--- a/templates/user/settings/organization.tmpl
+++ b/templates/user/settings/organization.tmpl
@@ -17,7 +17,7 @@
{{range .Orgs}}
<div class="item">
<div class="right floated content">
- <form method="post" action="{{AppSubUrl}}/org/{{.Name}}/members/action/leave">
+ <form method="post" action="{{.OrganisationLink}}/members/action/leave">
{{$.CsrfTokenHtml}}
<button type="submit" class="ui blue small button" name="uid" value="{{.ID}}">{{$.i18n.Tr "org.members.leave"}}</button>
</form>