1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 22:56:20 +09:00

Remove references to deprecated Import model (#31759)

This commit is contained in:
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

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')]) }