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/admin/hooks/edit.html.haml | |
parent | ef518df28adc1366d868cb990952e87f60e8b0eb (diff) | |
download | gitlab-ce-c504b88f07f03d381e7b2e22a129413319508413.tar.gz |
Implement ability to update hooks
Diffstat (limited to 'app/views/admin/hooks/edit.html.haml')
-rw-r--r-- | app/views/admin/hooks/edit.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/admin/hooks/edit.html.haml b/app/views/admin/hooks/edit.html.haml new file mode 100644 index 00000000000..0777f5e2629 --- /dev/null +++ b/app/views/admin/hooks/edit.html.haml @@ -0,0 +1,14 @@ +- page_title 'Edit System Hook' +%h3.page-title + Edit System Hook + +%p.light + #{link_to 'System hooks ', help_page_path('system_hooks/system_hooks'), class: 'vlink'} can be + used for binding events when GitLab creates a User or Project. + +%hr + += form_for @hook, as: :hook, url: admin_hook_path, html: { class: 'form-horizontal' } do |f| + = render partial: 'form', locals: { form: f, hook: @hook } + .form-actions + = f.submit 'Save changes', class: 'btn btn-create' |