diff options
-rw-r--r-- | app/views/admin/services/_form.html.haml | 6 | ||||
-rw-r--r-- | app/views/projects/services/_form.html.haml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin/services/_form.html.haml b/app/views/admin/services/_form.html.haml index 291e48efc12..a953833b37c 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 3492dd5babd..bb983229b1c 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 |