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

15 lines
548 B
Text
Raw Normal View History

2020-04-08 14:13:33 +05:30
- @content_class = 'limit-container-width' unless fluid_layout
- breadcrumb_title _('Webhook Settings')
- page_title _('Webhooks')
2020-07-28 23:09:34 +05:30
.row.gl-mt-3
2017-09-10 17:25:29 +05:30
.col-lg-4
2020-01-01 13:55:28 +05:30
= render 'shared/web_hooks/title_and_docs', hook: @hook
2017-08-17 22:00:37 +05:30
2020-07-28 23:09:34 +05:30
.col-lg-8.gl-mb-3
2020-10-24 23:57:45 +05:30
= form_for @hook, as: :hook, url: polymorphic_path([@project, :hooks]) do |f|
2017-08-17 22:00:37 +05:30
= render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
2021-04-29 21:17:54 +05:30
= f.submit 'Add webhook', class: 'gl-button btn btn-confirm'
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class