summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-02-09 12:18:40 -0600
committerEric Eastwood <contact@ericeastwood.com>2018-02-09 12:18:43 -0600
commitb60a39f26023207a0e5a63559ec3d2592a3246f0 (patch)
tree92183ac6d157d8bfbcb48563d652c8af2a912892 /app/views
parentdbb934c8e2b5d138721f9d89afcf8ebbf814bed2 (diff)
downloadgitlab-ce-b60a39f26023207a0e5a63559ec3d2592a3246f0.tar.gz
Default CI variables to unprotected42928-default-protected-variables-to-off
See https://gitlab.com/gitlab-org/gitlab-ce/issues/42928
Diffstat (limited to 'app/views')
-rw-r--r--app/views/ci/variables/_variable_row.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/ci/variables/_variable_row.html.haml b/app/views/ci/variables/_variable_row.html.haml
index 495a55660cb..15201780451 100644
--- a/app/views/ci/variables/_variable_row.html.haml
+++ b/app/views/ci/variables/_variable_row.html.haml
@@ -5,7 +5,7 @@
- id = variable&.id
- key = variable&.key
- value = variable&.value
-- is_protected = variable && !only_key_value ? variable.protected : true
+- is_protected = variable && !only_key_value ? variable.protected : false
- id_input_name = "#{form_field}[variables_attributes][][id]"
- destroy_input_name = "#{form_field}[variables_attributes][][_destroy]"