From 6a269450e6b8443a6a15b8ba6e0fe6737c78bd5b Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Mon, 16 Mar 2015 19:48:36 -0500 Subject: Fix UI bug regarding services --- app/views/admin/services/_form.html.haml | 6 +++--- 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 -- cgit v1.2.1