diff options
author | Alexander Randa <randa.alex@gmail.com> | 2017-04-20 08:31:37 +0000 |
---|---|---|
committer | Alexander Randa <randa.alex@gmail.com> | 2017-04-28 11:49:57 +0000 |
commit | c504b88f07f03d381e7b2e22a129413319508413 (patch) | |
tree | a35e54288cea3960fcef4b107879afe7c62dae82 /app/views/projects/hooks/edit.html.haml | |
parent | ef518df28adc1366d868cb990952e87f60e8b0eb (diff) | |
download | gitlab-ce-c504b88f07f03d381e7b2e22a129413319508413.tar.gz |
Implement ability to update hooks
Diffstat (limited to 'app/views/projects/hooks/edit.html.haml')
-rw-r--r-- | app/views/projects/hooks/edit.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/projects/hooks/edit.html.haml b/app/views/projects/hooks/edit.html.haml new file mode 100644 index 00000000000..7998713be1f --- /dev/null +++ b/app/views/projects/hooks/edit.html.haml @@ -0,0 +1,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' + |