Add new overview landing page setting (#39074)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2026-05-26 12:36:54 +00:00
1 parent f6d1795da5
commit 07d099cbf7
15 files changed
+483 -17

No files matched your search

@@ -75,10 +75,11 @@
.fields-row
= f.input :landing_page,
as: :radio_buttons,
collection: f.object.class::LANDING_PAGE,
include_blank: false,
label_method: ->(page) { I18n.t("admin.settings.landing_page.values.#{page}") },
wrapper: :with_label
label_method: ->(page) { safe_join([I18n.t("admin.settings.landing_page.values.#{page}"), content_tag(:span, I18n.t("admin.settings.landing_page.hints.#{page}_html"), class: 'hint')]) },
wrapper: :with_block_label
.actions
= f.button :button, t('generic.save_changes'), type: :submit