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