2020-02-24 13:09:05 -05:00
|
|
|
- @content_class = 'limit-container-width' unless fluid_layout
|
|
|
|
- breadcrumb_title _('Webhook Settings')
|
|
|
|
- page_title _('Webhooks')
|
|
|
|
|
2020-06-26 02:09:03 -04:00
|
|
|
.row.gl-mt-3
|
2017-06-09 07:06:35 -04:00
|
|
|
.col-lg-4
|
2019-12-16 04:08:10 -05:00
|
|
|
= render 'shared/web_hooks/title_and_docs', hook: @hook
|
2017-04-20 04:31:37 -04:00
|
|
|
|
2020-06-22 11:09:27 -04:00
|
|
|
.col-lg-8.gl-mb-3
|
2020-07-27 08:09:50 -04:00
|
|
|
= form_for @hook, as: :hook, url: polymorphic_path([@project, :hooks]) do |f|
|
2017-04-20 04:31:37 -04:00
|
|
|
= render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
|
2020-08-05 02:09:36 -04:00
|
|
|
.gl-display-flex.gl-justify-content-end
|
|
|
|
= f.submit 'Add webhook', class: 'btn btn-success'
|
2017-04-20 04:31:37 -04:00
|
|
|
|
2019-12-16 04:08:10 -05:00
|
|
|
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
|