2019-12-16 04:08:10 -05:00
|
|
|
- page_title @hook.pluralized_name
|
|
|
|
|
2020-06-26 02:09:03 -04:00
|
|
|
.row.gl-mt-3
|
2018-03-05 07:30:40 -05:00
|
|
|
.col-lg-4
|
2019-12-16 04:08:10 -05:00
|
|
|
= render 'shared/web_hooks/title_and_docs', hook: @hook
|
2013-10-08 05:06:46 -04:00
|
|
|
|
2020-06-22 11:09:27 -04:00
|
|
|
.col-lg-8.gl-mb-3
|
2018-03-05 07:30:40 -05:00
|
|
|
= form_for @hook, as: :hook, url: admin_hooks_path do |f|
|
|
|
|
= render partial: 'form', locals: { form: f, hook: @hook }
|
2021-03-05 16:09:03 -05:00
|
|
|
= f.submit _('Add system hook'), class: 'btn gl-button btn-confirm'
|
2013-10-08 05:06:46 -04:00
|
|
|
|
2019-12-16 04:08:10 -05:00
|
|
|
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
|
2012-07-12 15:10:34 -04:00
|
|
|
|
2020-01-16 10:08:41 -05:00
|
|
|
= render 'shared/file_hooks/index'
|