Use secret_key and secret_value in variable form field names

This commit is contained in:
Matija Čupić 2018-03-16 16:59:06 +01:00
parent 28a5f8c60a
commit 763c82f0b3
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -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?}" } }