diff options
Diffstat (limited to 'templates/org/team/members.tmpl')
-rw-r--r-- | templates/org/team/members.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl index f3b08652cd..ef595f841a 100644 --- a/templates/org/team/members.tmpl +++ b/templates/org/team/members.tmpl @@ -27,9 +27,9 @@ {{range .Team.Members}} <div class="item"> {{if $.IsOrganizationOwner}} - <form method="post" action="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/remove?uid={{.ID}}"> + <form method="post" action="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/remove"> {{$.CsrfTokenHtml}} - <button type="submit" class="ui red small button right" >{{$.i18n.Tr "org.members.remove"}}</button> + <button type="submit" class="ui red small button right" name="uid" value="{{.ID}}">{{$.i18n.Tr "org.members.remove"}}</button> </form> {{end}} <a href="{{.HomeLink}}"> |