{{if eq .HookType "slack"}}

{{.i18n.Tr "repo.settings.add_slack_hook_desc" "http://slack.com" | Str2html}}

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