BigW Consortium Gitlab

Commit 6a269450 by 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
.form-group - if @service.supported_events.length > 1
= f.label :url, "Trigger", class: 'control-label' .form-group
- if @service.supported_events.length > 1 = f.label :url, "Trigger", class: 'control-label'
.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
.form-group - if @service.supported_events.length > 1
= f.label :url, "Trigger", class: 'control-label' .form-group
- if @service.supported_events.length > 1 = f.label :url, "Trigger", class: 'control-label'
.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