diff --git a/app/views/bulkrax/importers/_bagit_fields.html.erb b/app/views/bulkrax/importers/_bagit_fields.html.erb index 0d0df331..4a2bc2c8 100644 --- a/app/views/bulkrax/importers/_bagit_fields.html.erb +++ b/app/views/bulkrax/importers/_bagit_fields.html.erb @@ -41,45 +41,13 @@
File upload and Cloud File upload must be a Zip file containing a single BagIt Bag, or a folder containing multiple BagIt Bags.
The Server Path can point to a BagIt Bag, a folder containing BagIt Bags, or a zip file containing either.
- <%= fi.input :file_style, collection: ['Upload a File', 'Specify a Path on the Server', 'Add Cloud File'], as: :radio_buttons, label: false %> +<%= fi.input :file_style, + collection: ['Upload a File', 'Specify a Path on the Server'] + + (defined?(::Hyrax) && Hyrax.config.browse_everything? ? ['Add Cloud File'] : []), + as: :radio_buttons, label: false %>