summaryrefslogtreecommitdiff
path: root/app/views/admin/hooks/index.html.haml
blob: 3e2cd126e1a85b4041daa026c81cab094a4ee561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- 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
    = 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'