Sha256: c8fed0b560c8527328a256f5881d4b8c79bdb24086b10fd49a3486e52fd58404

Contents?: true

Size: 805 Bytes

Versions: 4

Compression:

Stored size: 805 Bytes

Contents

<%= simple_form_for [hyrax, @form], html: { multipart: true } do |f| %>
  <% content_for :files_tab do %>
    <p class="instructions"><%= t("hyrax.batch_uploads.files.instructions") %></p>
    <p class="switch-upload-type"><%= t("hyrax.batch_uploads.files.upload_type_instructions") %>
      <%= link_to t("hyrax.batch_uploads.files.button_label"), [main_app, :new, Hyrax.primary_work_type.model_name.singular_route_key] %>
    </p>
  <% end %>
  <%= render 'hyrax/base/guts4form', f: f, tabs: %w[files metadata relationships share] do %>
  <% end %>
  <%= f.hidden_field :payload_concern, value: @form.payload_concern %>
<% end %>

<script type="text/javascript">
  Blacklight.onLoad(function() {
    $("#fileupload").fileupload('option', 'downloadTemplateId', 'batch-template-download')
  });
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hyrax-1.0.2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-1.0.1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/batch_uploads/_form.html.erb