diff --git a/app/views/admin/services/_form.html.haml b/app/views/admin/services/_form.html.haml
index 291e48efc128656063292c418e1a2ca47213a717..a953833b37c572e41b0a4ed5f2a9e412ea958808 100644
--- a/app/views/admin/services/_form.html.haml
+++ b/app/views/admin/services/_form.html.haml
@@ -14,9 +14,9 @@
= preserve do
= markdown @service.help
- .form-group
- = f.label :url, "Trigger", class: 'control-label'
- - if @service.supported_events.length > 1
+ - if @service.supported_events.length > 1
+ .form-group
+ = f.label :url, "Trigger", class: 'control-label'
.col-sm-10
- if @service.supported_events.include?("push")
%div
diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml
index 3492dd5babd3f738d9ea0716e9cfc198ac28f523..bb983229b1cc88fdeabb1c7b9499ecbd89f8087d 100644
--- a/app/views/projects/services/_form.html.haml
+++ b/app/views/projects/services/_form.html.haml
@@ -27,9 +27,9 @@
.col-sm-10
= f.check_box :active
- .form-group
- = f.label :url, "Trigger", class: 'control-label'
- - if @service.supported_events.length > 1
+ - if @service.supported_events.length > 1
+ .form-group
+ = f.label :url, "Trigger", class: 'control-label'
.col-sm-10
- if @service.supported_events.include?("push")
%div