From 969fff1a3c9418b8d61c2a958047411e96f05957 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 13 Jun 2022 09:25:34 +0200 Subject: [PATCH] COMPATIBILITY: Support tag-group-chooser interface && add base CSS to wizard app --- .../templates/components/wizard-custom-field.hbs | 8 +++++--- assets/stylesheets/wizard/wizard_custom.scss | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs b/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs index f51b9fbb..6866f3ef 100644 --- a/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs +++ b/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs @@ -19,7 +19,7 @@
- +
{{i18n "admin.wizard.field.required_label"}} {{input type="checkbox" checked=field.required}} @@ -54,7 +54,7 @@
- +
{{combo-box value=field.type @@ -216,7 +216,9 @@
{{tag-group-chooser + id=(concat field.id "-tag-groups") tagGroups=field.tag_groups + onChange=(action (mut field.tag_groups)) }}
@@ -257,7 +259,7 @@
- +
{{combo-box value=field.property diff --git a/assets/stylesheets/wizard/wizard_custom.scss b/assets/stylesheets/wizard/wizard_custom.scss index 659c97f5..6c91385f 100644 --- a/assets/stylesheets/wizard/wizard_custom.scss +++ b/assets/stylesheets/wizard/wizard_custom.scss @@ -1,5 +1,6 @@ @import "common/foundation/colors"; @import "common/foundation/variables"; +@import "common/foundation/base"; @import "common/base/code_highlighting"; @import "common/base/modal"; @import "common/base/onebox";