Fix HAML linting issue

This commit is contained in:
Claire 2023-12-17 16:37:11 +01:00
parent 1474318691
commit f62bafc7a1
1 changed files with 10 additions and 1 deletions

View File

@ -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 }