diff options
author | Drew Blessing <drew.blessing@me.com> | 2015-03-16 19:48:36 -0500 |
---|---|---|
committer | Drew Blessing <drew.blessing@me.com> | 2015-03-17 12:09:26 -0500 |
commit | 6a269450e6b8443a6a15b8ba6e0fe6737c78bd5b (patch) | |
tree | 0eb0a7d1027eed2199202c4e8e694e3a9f67841e | |
parent | df91781a346e6b70c43195f2f4f550b097ac9d2e (diff) | |
download | gitlab-ce-6a269450e6b8443a6a15b8ba6e0fe6737c78bd5b.tar.gz |
Fix UI bug regarding services
-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 |