Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-03-16 18:59:06 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-03-16 18:59:06 +0300
commit763c82f0b304362be71ca82e551381609db19bf8 (patch)
tree4ee0626f265d0bfb9f7cc0a64aca39d39301ada0 /app/views/ci
parent28a5f8c60a29445e147614767a8452b3141ef868 (diff)
Use secret_key and secret_value in variable form field names
Diffstat (limited to 'app/views/ci')
-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?}" } }