summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_prometheus.html.haml
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-05-31 19:20:46 +0000
committerAnnabel Gray <annabel.m.gray@gmail.com>2018-05-31 19:20:46 +0000
commit1a6d848db725e8db0595b4d8b71afba2153445ae (patch)
treec1464f90d03c3a5404023fbb922888c007d744bf /app/views/admin/application_settings/_prometheus.html.haml
parente57ad62d488b15b9e65ea63f4ab78e51336318a5 (diff)
downloadgitlab-ce-1a6d848db725e8db0595b4d8b71afba2153445ae.tar.gz
Fix checkbox/radio button structure
Diffstat (limited to 'app/views/admin/application_settings/_prometheus.html.haml')
-rw-r--r--app/views/admin/application_settings/_prometheus.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/application_settings/_prometheus.html.haml b/app/views/admin/application_settings/_prometheus.html.haml
index 8c95597e787..d3c3656e96a 100644
--- a/app/views/admin/application_settings/_prometheus.html.haml
+++ b/app/views/admin/application_settings/_prometheus.html.haml
@@ -14,8 +14,8 @@
.form-group.row
.offset-sm-2.col-sm-10
.form-check
- = f.label :prometheus_metrics_enabled do
- = f.check_box :prometheus_metrics_enabled
+ = f.check_box :prometheus_metrics_enabled, class: 'form-check-input'
+ = f.label :prometheus_metrics_enabled, class: 'form-check-label' do
Enable Prometheus Metrics
- unless Gitlab::Metrics.metrics_folder_present?
.form-text.text-muted