Remove references to deprecated `Import` model (#31759)

pull/31772/head
Matt Jankowski 2024-09-05 10:07:17 -04:00 committed by GitHub
parent f85694acfd
commit d58faa2018
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
= f.input :mode, = f.input :mode,
as: :radio_buttons, as: :radio_buttons,
collection_wrapper_tag: 'ul', collection_wrapper_tag: 'ul',
collection: Import::MODES, collection: Form::Import::MODES,
item_wrapper_tag: 'li', item_wrapper_tag: 'li',
label_method: ->(mode) { safe_join([I18n.t("imports.modes.#{mode}"), content_tag(:span, I18n.t("imports.modes.#{mode}_long"), class: 'hint')]) } label_method: ->(mode) { safe_join([I18n.t("imports.modes.#{mode}"), content_tag(:span, I18n.t("imports.modes.#{mode}_long"), class: 'hint')]) }