2020-02-24 18:09:05 +00:00
|
|
|
- @content_class = 'limit-container-width' unless fluid_layout
|
|
|
|
- breadcrumb_title _('Webhook Settings')
|
|
|
|
- page_title _('Webhooks')
|
|
|
|
|
2020-06-26 06:09:03 +00:00
|
|
|
.row.gl-mt-3
|
2017-06-09 11:06:35 +00:00
|
|
|
.col-lg-4
|
2019-12-16 09:08:10 +00:00
|
|
|
= render 'shared/web_hooks/title_and_docs', hook: @hook
|
2017-04-20 08:31:37 +00:00
|
|
|
|
2020-06-22 15:09:27 +00:00
|
|
|
.col-lg-8.gl-mb-3
|
2022-04-19 06:08:57 +00:00
|
|
|
= gitlab_ui_form_for @hook, as: :hook, url: polymorphic_path([@project, :hooks]) do |f|
|
2017-04-20 08:31:37 +00:00
|
|
|
= render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
|
2021-03-17 21:11:29 +00:00
|
|
|
= f.submit 'Add webhook', class: 'gl-button btn btn-confirm'
|
2017-04-20 08:31:37 +00:00
|
|
|
|
2019-12-16 09:08:10 +00:00
|
|
|
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
|