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
|
2020-07-27 12:09:50 +00:00
|
|
|
= 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 }
|
2020-10-20 15:08:57 +00:00
|
|
|
= f.submit 'Add webhook', class: 'gl-button btn btn-success'
|
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
|