Skip to content
Snippets Groups Projects
Unverified Commit c9e040fb authored by mogaminsk's avatar mogaminsk Committed by GitHub
Browse files

Fix import data field type (#24874)

parent 5811ccc6
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
.fields-row
.fields-group.fields-row__column.fields-row__column-6
= f.input :data, wrapper: :with_block_label, hint: t('simple_form.hints.imports.data')
= f.input :data, as: :file, wrapper: :with_block_label, hint: t('simple_form.hints.imports.data')
.fields-group.fields-row__column.fields-row__column-6
= f.input :mode, as: :radio_buttons, collection: Import::MODES, label_method: ->(mode) { safe_join([I18n.t("imports.modes.#{mode}"), content_tag(:span, I18n.t("imports.modes.#{mode}_long"), class: 'hint')]) }, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment