Sha256: 386de596242265fe81f5df9448b9e11862b30b67ec2755ff24090b1d31188e70

Contents?: true

Size: 974 Bytes

Versions: 26

Compression:

Stored size: 974 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.to_sym] %>
    </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

26 entries across 26 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.4 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.3 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.0 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.6.0 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-4.0.0 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.5.0 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.4.2 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.4.1 app/views/hyrax/batch_uploads/_form.html.erb
hyrax-3.4.0 app/views/hyrax/batch_uploads/_form.html.erb