summaryrefslogtreecommitdiff
path: root/app/views/shared/_service_settings.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_service_settings.html.haml')
-rw-r--r--app/views/shared/_service_settings.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_service_settings.html.haml b/app/views/shared/_service_settings.html.haml
index 7ca14ac93cc..61b39afb5d4 100644
--- a/app/views/shared/_service_settings.html.haml
+++ b/app/views/shared/_service_settings.html.haml
@@ -11,7 +11,7 @@
.form-group
= form.label :active, "Active", class: "control-label"
.col-sm-10
- = form.check_box :active
+ = form.check_box :active, disabled: disable_fields_service?(@service)
- if @service.supported_events.present?
.form-group