diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-03-28 00:05:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 18:05:51 +0200 |
commit | 31ab331b233d09568d47ffa25ea5516282d8e71b (patch) | |
tree | b973b2cbb4864676242415d89851468f577a8662 /templates/org/team | |
parent | ec261b63e14f84da3e2d9a6e27c8b831a7750677 (diff) | |
download | gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.tar.gz gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.zip |
Remove incorrect HTML self close tag (#23748)
HTML is not XML.
Diffstat (limited to 'templates/org/team')
-rw-r--r-- | templates/org/team/members.tmpl | 2 | ||||
-rw-r--r-- | templates/org/team/sidebar.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl index 6ea1614753..5b10facfd7 100644 --- a/templates/org/team/members.tmpl +++ b/templates/org/team/members.tmpl @@ -52,7 +52,7 @@ <div class="item"> <form action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/remove_invite" method="post"> {{$.CsrfTokenHtml}} - <input type="hidden" name="iid" value="{{.ID}}" /> + <input type="hidden" name="iid" value="{{.ID}}"> <button class="ui red button right">{{$.locale.Tr "org.members.remove"}}</button> </form> {{.Email}} diff --git a/templates/org/team/sidebar.tmpl b/templates/org/team/sidebar.tmpl index 507173e51f..cecd8ddee6 100644 --- a/templates/org/team/sidebar.tmpl +++ b/templates/org/team/sidebar.tmpl @@ -11,7 +11,7 @@ {{else if .IsOrganizationOwner}} <form method="post" action="{{.OrgLink}}/teams/{{.Team.LowerName | PathEscape}}/action/join"> {{$.CsrfTokenHtml}} - <input type="hidden" name="page" value="team"/> + <input type="hidden" name="page" value="team"> <button type="submit" class="ui primary tiny button" name="uid" value="{{$.SignedUser.ID}}">{{$.locale.Tr "org.teams.join"}}</button> </form> {{end}} |