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

[skip ci] WIP Address ux feedback

parent 361633ca
...@@ -89,7 +89,12 @@ export default { ...@@ -89,7 +89,12 @@ export default {
name="application_setting[required_instance_ci_template]" name="application_setting[required_instance_ci_template]"
:value="selectedGitlabCiYmlValue" :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> <template #header>
<gl-search-box-by-type v-model.trim="searchTerm" :debounce="$options.TYPING_DELAY" /> <gl-search-box-by-type v-model.trim="searchTerm" :debounce="$options.TYPING_DELAY" />
</template> </template>
......
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
= form_for @application_setting, url: ci_cd_admin_application_settings_path(anchor: 'js-required-pipeline-settings'), html: { class: 'fieldset-form' } do |f| = 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) = form_errors(@application_setting)
%fieldset .form-group.col-md-9.gl-p-0
.form-group
= f.label :required_instance_ci_template, s_('AdminSettings|Select a CI/CD template') = 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 } } .js-ci-template-dropdown{ data: { gitlab_ci_ymls: gitlab_ci_ymls(@project).to_json, value: @application_setting.required_instance_ci_template } }
......
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