index.html.haml 474 Bytes
Newer Older
1 2
- page_title @hook.pluralized_name

3 4
.row.prepend-top-default
  .col-lg-4
5
    = render 'shared/web_hooks/title_and_docs', hook: @hook
6

7 8 9
  .col-lg-8.append-bottom-default
    = form_for @hook, as: :hook, url: admin_hooks_path do |f|
      = render partial: 'form', locals: { form: f, hook: @hook }
10
      = f.submit _('Add system hook'), class: 'btn btn-success'
11

12
    = render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
Valeriy's avatar
Valeriy committed
13

14
= render 'shared/file_hooks/index'