mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 19:03:43 +01:00
Fix HAML linting issue
This commit is contained in:
parent
1474318691
commit
f62bafc7a1
1 changed files with 10 additions and 1 deletions
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue