Sha256: 3674e743ab6fe94c164dee9daf5cbf9760e3edfa62446355c2b70a3857a1d8de

Contents?: true

Size: 723 Bytes

Versions: 9

Compression:

Stored size: 723 Bytes

Contents

<%= simple_form_for [main_app, @form], html: { multipart: true } do |f| %>
  <% unless f.object.persisted? %>
    <% content_for :metadata_tab do %>
      <p class="switch-upload-type">To create a separate work for each of the files, go to <%= link_to "Batch upload", sufia.new_batch_upload_path %></p>
    <% end %>
  <% end %>
  <%= render 'curation_concerns/base/guts4form', f: f %>
<% end %>

<script type="text/javascript">
  Blacklight.onLoad(function() {
    <%# This causes the page to switch back to the default template if they've
        previously visited the batch download page in this Turbolinks session %>
    $("#fileupload").fileupload('option', 'downloadTemplateId', 'template-download')
  });
</script>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sufia-7.2.0 app/views/curation_concerns/base/_form.html.erb
sufia-7.1.0 app/views/curation_concerns/base/_form.html.erb
sufia-7.0.0 app/views/curation_concerns/base/_form.html.erb
sufia-7.0.0.rc2 app/views/curation_concerns/base/_form.html.erb
sufia-7.0.0.rc1 app/views/curation_concerns/base/_form.html.erb
sufia-7.0.0.beta4 app/views/curation_concerns/base/_form.html.erb
sufia-7.0.0.beta3 app/views/curation_concerns/base/_form.html.erb
sufia-7.0.0.beta2 app/views/curation_concerns/base/_form.html.erb
sufia-7.0.0.beta1 app/views/curation_concerns/base/_form.html.erb