From f62bafc7a14f3ec05cdc6378f9839f29f2809d5b Mon Sep 17 00:00:00 2001 From: Claire Date: Sun, 17 Dec 2023 16:37:11 +0100 Subject: [PATCH] Fix HAML linting issue --- app/views/admin/settings/appearance/show.html.haml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/views/admin/settings/appearance/show.html.haml b/app/views/admin/settings/appearance/show.html.haml index 89eddfdc42..37a5d7e0c7 100644 --- a/app/views/admin/settings/appearance/show.html.haml +++ b/app/views/admin/settings/appearance/show.html.haml @@ -11,7 +11,16 @@ %p.lead= t('admin.settings.appearance.preamble') .fields-group - = f.input :flavour_and_skin, collection: Themes.instance.flavours_and_skins, group_label_method: ->(flavour_and_skin) { I18n.t("flavours.#{flavour_and_skin}.name", default: flavour_and_skin) }, wrapper: :with_label, label: t('admin.settings.flavour_and_skin.title'), include_blank: false, as: :grouped_select, label_method: :last, value_method: ->(value) { value.join('/') }, group_method: :last + = f.input :flavour_and_skin, + collection: Themes.instance.flavours_and_skins, + group_label_method: ->(flavour_and_skin) { I18n.t("flavours.#{flavour_and_skin}.name", default: flavour_and_skin) }, + wrapper: :with_label, + label: t('admin.settings.flavour_and_skin.title'), + include_blank: false, + as: :grouped_select, + label_method: :last, + value_method: ->(value) { value.join('/') }, + group_method: :last .fields-group = f.input :custom_css, wrapper: :with_block_label, as: :text, input_html: { rows: 8 }