Sha256: 6bdd8b2c9b39ada6c182ecc07813512f5d954fb626064c772a535fe5e986e7c8

Contents?: true

Size: 1.08 KB

Versions: 20

Compression:

Stored size: 1.08 KB

Contents

<% if current_user.directory.present? %>
  <div class="well">
    <%= render partial: 'generic_files/upload/tos_checkbox' %>
    <%= form_for @generic_file, :url => sufia.generic_files_path, :html => { :class => 'form-horizontal well'} do |f| %>
      <table class="table table-striped">
        <caption>Select files to deposit from your user directory on the server.</caption>
        <thead>
          <tr><th>File</th></tr>
        </thead>
        <tbody>
        <%current_user.files.each do |f| %>
          <tr>
            <td>
              <label><%= check_box_tag 'local_file[]', f[:name] %> <%= f[:directory] ? '<i class="icon-folder-close"></i>'.html_safe : '<i class="icon-file"></i>'.html_safe %> <%= f[:name] %></label>
            </td>
          </tr>
        <%end%>
        </tbody>
      </table>
      <%= hidden_field_tag(:batch_id, @batch_noid) %>
      <button type="submit" class="activate-submit btn btn-primary start" id="main_upload_start">
        <i class="icon-upload icon-white"></i>
        <span>Deposit Selected Files</span>
      </button>
    <% end %>
  </div>
<% end %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
sufia-4.0.0.beta2 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-4.0.0.beta1 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.7.2 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.7.1 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.7.0 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.6.1 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.6.0 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.5.0 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.4.0 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.4.0.rc4 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.4.0.rc3 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.3.1 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.4.0.rc2 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.4.0.rc1 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.3.0 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.2.1 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.1.3 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.1.2 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.1.1 app/views/generic_files/upload/_local_file_import_chooser.html.erb
sufia-3.1.0 app/views/generic_files/upload/_local_file_import_chooser.html.erb