Fix haml-lint LineLength cops in app/views/admin (#28680)

This commit is contained in:
Matt Jankowski 2024-03-15 07:19:00 -04:00 committed by GitHub
commit f445d33fd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 576 additions and 146 deletions

View file

@ -11,14 +11,23 @@
%p.lead= t('admin.settings.appearance.preamble')
.fields-group
= f.input :theme, collection: Themes.instance.names, label_method: ->(theme) { I18n.t("themes.#{theme}", default: theme) }, wrapper: :with_label, include_blank: false
= f.input :theme,
collection: Themes.instance.names,
include_blank: false,
label_method: ->(theme) { I18n.t("themes.#{theme}", default: theme) },
wrapper: :with_label
.fields-group
= f.input :custom_css, wrapper: :with_block_label, as: :text, input_html: { rows: 8 }
= f.input :custom_css,
as: :text,
input_html: { rows: 8 },
wrapper: :with_block_label
.fields-row
.fields-row__column.fields-row__column-6.fields-group
= f.input :mascot, as: :file, wrapper: :with_block_label
= f.input :mascot,
as: :file,
wrapper: :with_block_label
.fields-row__column.fields-row__column-6.fields-group
- if @admin_settings.mascot.persisted?