diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-06-09 01:35:29 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-06-09 01:36:25 +0800 |
commit | 566caff73196e001381ea68fc11ed3a97f0b92b5 (patch) | |
tree | d6d4da6c90d99647136ba80db3645bcf873d7d55 | |
parent | 8cd6ffab51acade21f793103d4fedf6c04a20496 (diff) | |
download | gitlab-ce-unify-ci-variables-form-row.tar.gz |
Add render_if_exists to variable env scopeunify-ci-variables-form-row
-rw-r--r-- | app/views/ci/variables/_variable_row.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/ci/variables/_variable_row.html.haml b/app/views/ci/variables/_variable_row.html.haml index 571eb28f195..6ee55836dd2 100644 --- a/app/views/ci/variables/_variable_row.html.haml +++ b/app/views/ci/variables/_variable_row.html.haml @@ -43,5 +43,6 @@ %span.toggle-icon = sprite_icon('status_success_borderless', size: 16, css_class: 'toggle-icon-svg toggle-status-checked') = sprite_icon('status_failed_borderless', size: 16, css_class: 'toggle-icon-svg toggle-status-unchecked') + = render_if_exists 'ci/variables/environment_scope', form_field: form_field, variable: variable %button.js-row-remove-button.ci-variable-row-remove-button{ type: 'button', 'aria-label': s_('CiVariables|Remove variable row') } = icon('minus-circle') |