Commit 6a269450 authored by Drew Blessing's avatar Drew Blessing

Fix UI bug regarding services

parent df91781a
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
= preserve do = preserve do
= markdown @service.help = markdown @service.help
- if @service.supported_events.length > 1
.form-group .form-group
= f.label :url, "Trigger", class: 'control-label' = f.label :url, "Trigger", class: 'control-label'
- if @service.supported_events.length > 1
.col-sm-10 .col-sm-10
- if @service.supported_events.include?("push") - if @service.supported_events.include?("push")
%div %div
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
.col-sm-10 .col-sm-10
= f.check_box :active = f.check_box :active
- if @service.supported_events.length > 1
.form-group .form-group
= f.label :url, "Trigger", class: 'control-label' = f.label :url, "Trigger", class: 'control-label'
- if @service.supported_events.length > 1
.col-sm-10 .col-sm-10
- if @service.supported_events.include?("push") - if @service.supported_events.include?("push")
%div %div
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment