summaryrefslogtreecommitdiff
path: root/app/views/projects/hooks/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/hooks/index.html.haml')
-rw-r--r--app/views/projects/hooks/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml
index 5ca65d55eea..7d62a851aa1 100644
--- a/app/views/projects/hooks/index.html.haml
+++ b/app/views/projects/hooks/index.html.haml
@@ -7,7 +7,7 @@
= render 'shared/web_hooks/title_and_docs', hook: @hook
.col-lg-8.gl-mb-3
- = form_for @hook, as: :hook, url: polymorphic_path([@project, :hooks]) do |f|
+ = gitlab_ui_form_for @hook, as: :hook, url: polymorphic_path([@project, :hooks]) do |f|
= render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
= f.submit 'Add webhook', class: 'gl-button btn btn-confirm'