about summary refs log tree commit diff
path: root/app/views/settings/imports
diff options
context:
space:
mode:
authorpluralcafe-docker <git@plural.cafe>2018-10-01 05:42:11 +0000
committerpluralcafe-docker <git@plural.cafe>2018-10-01 05:42:11 +0000
commitf9275cb762a311cbf298b3929552a153703c0726 (patch)
tree35797a6c1ae1c51d5e42ffe8b63eecbfb4336f56 /app/views/settings/imports
parent2aedb7e83cf7a2c1a7de69d2bc20808f20c10f8f (diff)
parent4e60a0d5433f5dfa4f71a452cc5c6ceb0f21ceab (diff)
Merge branch 'glitch'
Diffstat (limited to 'app/views/settings/imports')
-rw-r--r--app/views/settings/imports/show.html.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/settings/imports/show.html.haml b/app/views/settings/imports/show.html.haml
index 2b43cb134..4512fc714 100644
--- a/app/views/settings/imports/show.html.haml
+++ b/app/views/settings/imports/show.html.haml
@@ -2,10 +2,8 @@
   = t('settings.import')
 
 = simple_form_for @import, url: settings_import_path do |f|
-  %p.hint= t('imports.preface')
-
   .field-group
-    = f.input :type, collection: Import.types.keys, wrapper: :with_label, include_blank: false, label_method: lambda { |type| I18n.t("imports.types.#{type}") }, as: :radio_buttons, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li'
+    = f.input :type, collection: Import.types.keys, wrapper: :with_block_label, include_blank: false, label_method: lambda { |type| I18n.t("imports.types.#{type}") }, hint: t('imports.preface')
 
   .field-group
     = f.input :data, wrapper: :with_block_label, hint: t('simple_form.hints.imports.data')