BigW Consortium Gitlab

Commit 6a269450 by Drew Blessing

Fix UI bug regarding services

parent df91781a
......@@ -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
......
......@@ -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
......
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