From 566caff73196e001381ea68fc11ed3a97f0b92b5 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Sat, 9 Jun 2018 01:35:29 +0800 Subject: Add render_if_exists to variable env scope --- app/views/ci/variables/_variable_row.html.haml | 1 + 1 file changed, 1 insertion(+) 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') -- cgit v1.2.1