<% if Hyrax.config.browse_everything? %> <%= t('hyrax.base.form_files.local_upload_browse_everything_html', contact_href: link_to(t("hyrax.upload.alert.contact_href_text"), hyrax.contact_form_index_path)) %> <% else %> <%= t('hyrax.base.form_files.local_upload_html') %> <% end %>
Add files... Add folder... <% if Hyrax.config.browse_everything? %> <%= button_tag(type: 'button', class: 'btn btn-success', id: "browse-btn", 'data-toggle' => 'browse-everything', 'data-route' => browse_everything_engine.root_path, 'data-target' => "#{f.object.persisted? ? "#edit_#{f.object.model.model_name.param_key}_#{f.object.model.id}" : "#new_#{f.object.model.model_name.param_key}"}" ) do %> <%= t('hyrax.upload.browse_everything.browse_files_button') %> <% end %> <% end %>
 
<%= t('hyrax.base.form_files.dropzone') %>
<%= render 'hyrax/uploads/js_templates' %>