Fix UI bug regarding services
This commit is contained in:
parent
df91781a34
commit
6a269450e6
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue