debian-mirror-gitlab/app/views/admin/hooks/index.html.haml

15 lines
458 B
Text
Raw Normal View History

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 }
2021-04-17 20:07:23 +05:30
= f.submit _('Add system hook'), class: 'btn gl-button btn-confirm'
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-13 15:44:24 +05:30
= render 'shared/file_hooks/index'