{{if eq .HookType "slack"}}

{{.i18n.Tr "repo.settings.add_slack_hook_desc" "https://slack.com" | Str2HTML}}

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