summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-03-16 16:59:06 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-03-16 16:59:06 +0100
commit763c82f0b304362be71ca82e551381609db19bf8 (patch)
tree4ee0626f265d0bfb9f7cc0a64aca39d39301ada0
parent28a5f8c60a29445e147614767a8452b3141ef868 (diff)
downloadgitlab-ce-763c82f0b304362be71ca82e551381609db19bf8.tar.gz
Use secret_key and secret_value in variable form field names
-rw-r--r--app/views/ci/variables/_variable_row.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/ci/variables/_variable_row.html.haml b/app/views/ci/variables/_variable_row.html.haml
index 15201780451..e72e48385da 100644
--- a/app/views/ci/variables/_variable_row.html.haml
+++ b/app/views/ci/variables/_variable_row.html.haml
@@ -9,8 +9,8 @@
- id_input_name = "#{form_field}[variables_attributes][][id]"
- destroy_input_name = "#{form_field}[variables_attributes][][_destroy]"
-- key_input_name = "#{form_field}[variables_attributes][][key]"
-- value_input_name = "#{form_field}[variables_attributes][][value]"
+- key_input_name = "#{form_field}[variables_attributes][][secret_key]"
+- value_input_name = "#{form_field}[variables_attributes][][secret_value]"
- protected_input_name = "#{form_field}[variables_attributes][][protected]"
%li.js-row.ci-variable-row{ data: { is_persisted: "#{!id.nil?}" } }