diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-02-09 21:18:40 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-02-09 21:18:43 +0300 |
commit | b60a39f26023207a0e5a63559ec3d2592a3246f0 (patch) | |
tree | 92183ac6d157d8bfbcb48563d652c8af2a912892 /app/views/ci/variables/_variable_row.html.haml | |
parent | dbb934c8e2b5d138721f9d89afcf8ebbf814bed2 (diff) |
Default CI variables to unprotected
See https://gitlab.com/gitlab-org/gitlab-ce/issues/42928
Diffstat (limited to 'app/views/ci/variables/_variable_row.html.haml')
-rw-r--r-- | app/views/ci/variables/_variable_row.html.haml | 2 |
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]" |