Sha256: 7e80d70ef0d4d4e84d2244eb51b27ecb48c17ce0af0a2064132bffad1612f51e

Contents?: true

Size: 710 Bytes

Versions: 18

Compression:

Stored size: 710 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", hyrax.new_batch_upload_path %></p>
    <% end %>
  <% end %>
  <%= render 'geo_works/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

18 entries across 6 versions & 1 rubygems

Version Path
geo_works-0.2.0 app/views/hyrax/vector_works/_form.html.erb
geo_works-0.2.0 app/views/hyrax/raster_works/_form.html.erb
geo_works-0.2.0 app/views/hyrax/image_works/_form.html.erb
geo_works-0.1.4 app/views/hyrax/image_works/_form.html.erb
geo_works-0.1.4 app/views/hyrax/vector_works/_form.html.erb
geo_works-0.1.4 app/views/hyrax/raster_works/_form.html.erb
geo_works-0.1.3 app/views/hyrax/image_works/_form.html.erb
geo_works-0.1.3 app/views/hyrax/raster_works/_form.html.erb
geo_works-0.1.3 app/views/hyrax/vector_works/_form.html.erb
geo_works-0.1.2 app/views/hyrax/image_works/_form.html.erb
geo_works-0.1.2 app/views/hyrax/vector_works/_form.html.erb
geo_works-0.1.2 app/views/hyrax/raster_works/_form.html.erb
geo_works-0.1.1 app/views/hyrax/vector_works/_form.html.erb
geo_works-0.1.1 app/views/hyrax/raster_works/_form.html.erb
geo_works-0.1.1 app/views/hyrax/image_works/_form.html.erb
geo_works-0.1.0 app/views/hyrax/vector_works/_form.html.erb
geo_works-0.1.0 app/views/hyrax/image_works/_form.html.erb
geo_works-0.1.0 app/views/hyrax/raster_works/_form.html.erb