forgejo/templates/repo/settings/webhook/new.tmpl
Kerwin Bryant 65588b732c
Extract common code to new template ()
I noticed that the code of several new webhook pages is highly
repetitive, so I pulled out the common parts to a new template, unified
reference, unified maintenance

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-09-05 12:00:28 +00:00

5 lines
226 B
Handlebars

{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings new webhook")}}
<div class="repo-setting-content">
{{template "webhook/new" .}}
</div>
{{template "repo/settings/layout_footer" .}}