2017-08-17 22:00:37 +05:30
|
|
|
.row.prepend-top-default
|
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
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.col-lg-8.append-bottom-default
|
2017-08-17 22:00:37 +05:30
|
|
|
= form_for @hook, as: :hook, url: polymorphic_path([@project.namespace.becomes(Namespace), @project, :hooks]) do |f|
|
|
|
|
= render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
|
2018-12-05 23:21:45 +05:30
|
|
|
= f.submit 'Add webhook', class: 'btn btn-success'
|
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
|