Sha256: 496bb1cdc9a9c96daadd9185644b3749b111c50bcb910f3a9fe19b0a2fccf296

Contents?: true

Size: 490 Bytes

Versions: 14

Compression:

Stored size: 490 Bytes

Contents

<%= form_for(@generic_file, url: sufia.generic_files_path, html: { multipart: true, id: 'fileupload' }) do |f| %>
  <% unless current_user.can_make_deposits_for.empty? %>
    <div class="controls">
      <%= label_tag :on_behalf_of, 'On Behalf of' %>
      <%= select_tag :on_behalf_of, options_for_select(current_user.can_make_deposits_for), prompt: "Yourself" %>
    </div>
  <% end %>
  <div class="well">
    <%= render partial: 'generic_files/upload/form_fields' %>
  </div>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sufia-6.3.0 app/views/generic_files/upload/_form.html.erb
sufia-6.2.0 app/views/generic_files/upload/_form.html.erb
sufia-6.1.0 app/views/generic_files/upload/_form.html.erb
sufia-5.0.0 app/views/generic_files/upload/_form.html.erb
sufia-6.0.0 app/views/generic_files/upload/_form.html.erb
sufia-6.0.0.rc4 app/views/generic_files/upload/_form.html.erb
sufia-6.0.0.rc3 app/views/generic_files/upload/_form.html.erb
sufia-5.0.0.rc1 app/views/generic_files/upload/_form.html.erb
sufia-6.0.0.rc2 app/views/generic_files/upload/_form.html.erb
sufia-6.0.0.rc1 app/views/generic_files/upload/_form.html.erb
sufia-4.3.1 app/views/generic_files/upload/_form.html.erb
sufia-6.0.0.beta1 app/views/generic_files/upload/_form.html.erb
sufia-4.2.0 app/views/generic_files/upload/_form.html.erb
sufia-4.1.0 app/views/generic_files/upload/_form.html.erb