2020-01-01 13:55:28 +05:30
|
|
|
- page_title @hook.pluralized_name
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
.row.gl-mt-3
|
2018-03-27 19:54:05 +05:30
|
|
|
.col-lg-4
|
2020-01-01 13:55:28 +05:30
|
|
|
= render 'shared/web_hooks/title_and_docs', hook: @hook
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
.col-lg-8.gl-mb-3
|
2018-03-27 19:54:05 +05:30
|
|
|
= form_for @hook, as: :hook, url: admin_hooks_path do |f|
|
|
|
|
= render partial: 'form', locals: { form: f, hook: @hook }
|
2020-01-01 13:55:28 +05:30
|
|
|
= f.submit _('Add system hook'), class: 'btn btn-success'
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2020-01-01 13:55:28 +05:30
|
|
|
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2020-03-09 13:42:32 +05:30
|
|
|
= render 'shared/file_hooks/index'
|