{{if eq .HookType "slack"}}

{{ctx.Locale.Tr "repo.settings.add_web_hook_desc" "https://slack.com" (ctx.Locale.Tr "repo.settings.web_hook_name_slack") | SanitizeHTML}}

{{.CsrfTokenHtml}}
{{template "repo/settings/webhook/settings" .}}
{{end}}