Fix UI bug regarding services

This commit is contained in:
Drew Blessing 2015-03-16 19:48:36 -05:00
parent df91781a34
commit 6a269450e6
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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