diff options
author | Jose <jivanvl@hotmail.com> | 2018-05-01 00:24:47 +0300 |
---|---|---|
committer | Jose <jivanvl@hotmail.com> | 2018-05-01 00:24:47 +0300 |
commit | f48f40bf267fd0f35ba09fd3b8f30e17c0789327 (patch) | |
tree | d1939bceb1d4451da86eab1c4794b2dd20c5a015 /app/assets/javascripts/pages/projects/pipelines/new/index.js | |
parent | 317477fc67a5d71900cf8e2ffe7f96c2017e9089 (diff) |
Add variables table to the new pipeline form
Diffstat (limited to 'app/assets/javascripts/pages/projects/pipelines/new/index.js')
-rw-r--r-- | app/assets/javascripts/pages/projects/pipelines/new/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/projects/pipelines/new/index.js b/app/assets/javascripts/pages/projects/pipelines/new/index.js index 9aa8945e268..b0b077a5e4c 100644 --- a/app/assets/javascripts/pages/projects/pipelines/new/index.js +++ b/app/assets/javascripts/pages/projects/pipelines/new/index.js @@ -1,6 +1,12 @@ import $ from 'jquery'; import NewBranchForm from '~/new_branch_form'; +import setupNativeFormVariableList from '~/ci_variable_list/native_form_variable_list'; document.addEventListener('DOMContentLoaded', () => { new NewBranchForm($('.js-new-pipeline-form')); // eslint-disable-line no-new + + setupNativeFormVariableList({ + container: $('.js-ci-variable-list-section'), + formField: 'variables_attributes', + }); }); |