{{if eq .HookType "slack"}}

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

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