debian-mirror-gitlab/app/views/admin/hooks/index.html.haml
2022-06-21 17:19:12 +05:30

14 lines
468 B
Text

- page_title @hook.pluralized_name
.row.gl-mt-3
.col-lg-4
= render 'shared/web_hooks/title_and_docs', hook: @hook
.col-lg-8.gl-mb-3
= gitlab_ui_form_for @hook, as: :hook, url: admin_hooks_path do |f|
= render partial: 'form', locals: { form: f, hook: @hook }
= f.submit _('Add system hook'), class: 'btn gl-button btn-confirm'
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
= render 'shared/file_hooks/index'