summaryrefslogtreecommitdiff
path: root/app/views/projects/hooks/edit.html.haml
blob: 7998713be1f23e98df7a6f14d2a159c4c42365d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
= render 'projects/settings/head'

.row.prepend-top-default
  .col-lg-3
    %h4.prepend-top-0
      = page_title
    %p
      #{link_to 'Webhooks', help_page_path('user/project/integrations/webhooks')} can be
      used for binding events when something is happening within the project.
  .col-lg-9.append-bottom-default
    = form_for [@project.namespace.becomes(Namespace), @project, @hook], as: :hook, url: namespace_project_hook_path do |f|
      = render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
      = f.submit 'Save changes', class: 'btn btn-create'