Commit 66fba1ef authored by Tom Quirk's avatar Tom Quirk

[skip ci] WIP Address ux feedback

parent 361633ca
......@@ -89,7 +89,12 @@ export default {
name="application_setting[required_instance_ci_template]"
:value="selectedGitlabCiYmlValue"
/>
<gl-dropdown :text="dropdownText" :header-text="$options.i18n.defaultDropdownHeaderText" block>
<gl-dropdown
:text="dropdownText"
:header-text="$options.i18n.defaultDropdownHeaderText"
no-flip
class="gl-display-block gl-m-0"
>
<template #header>
<gl-search-box-by-type v-model.trim="searchTerm" :debounce="$options.TYPING_DELAY" />
</template>
......
......@@ -16,9 +16,8 @@
= form_for @application_setting, url: ci_cd_admin_application_settings_path(anchor: 'js-required-pipeline-settings'), html: { class: 'fieldset-form' } do |f|
= form_errors(@application_setting)
%fieldset
.form-group
= f.label :required_instance_ci_template, s_('AdminSettings|Select a CI/CD template')
.js-ci-template-dropdown{ data: { gitlab_ci_ymls: gitlab_ci_ymls(@project).to_json, value: @application_setting.required_instance_ci_template } }
.form-group.col-md-9.gl-p-0
= f.label :required_instance_ci_template, s_('AdminSettings|Select a CI/CD template')
.js-ci-template-dropdown{ data: { gitlab_ci_ymls: gitlab_ci_ymls(@project).to_json, value: @application_setting.required_instance_ci_template } }
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment