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 %>
<% if defined?(::Hyrax) %> -
- - -
-
-
-
- - -
- - -
-
-
-
-
-
-
-
-
 
-
-
-
-
-
- Drop files here to upload -
-
- <%= render 'hyrax/uploads/js_templates' %> + <%= render 'bulkrax/importers/file_uploader', accepted_file_types: 'application/zip' %> <% else %> <%= fi.input 'file', as: :file, input_html: {accept: 'application/zip'} %>
<% end %> @@ -94,6 +62,7 @@
+