Sha256: c23ff66883be025152759e1ca8616edd94b994c16526ccd1c13920326cf75f47

Contents?: true

Size: 967 Bytes

Versions: 10

Compression:

Stored size: 967 Bytes

Contents

<%= simple_form_for [hyrax, @form],
                    html: {
                      data: { behavior: 'work-form',
                              'param-key' => @form.model_name.param_key },
                      multipart: true
                    } do |f| %>
  <% provide :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: form_tabs_for(form: f.object) %>
  <%= 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

10 entries across 10 versions & 1 rubygems

Version Path
hyrax-3.0.1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.0.0 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-2.9.4 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.0.0.pre.rc3 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-2.9.3 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-2.9.2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-2.9.1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-2.9.0 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.0.0.pre.rc2 app/views/hyrax/batch_uploads/_form.html.erb