Fix HAML linting issue

This commit is contained in:
Claire 2023-12-17 16:37:11 +01:00
parent 1474318691
commit f62bafc7a1

View file

@ -11,7 +11,16 @@
%p.lead= t('admin.settings.appearance.preamble') %p.lead= t('admin.settings.appearance.preamble')
.fields-group .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 .fields-group
= f.input :custom_css, wrapper: :with_block_label, as: :text, input_html: { rows: 8 } = f.input :custom_css, wrapper: :with_block_label, as: :text, input_html: { rows: 8 }