Sha256: 4fa2148b5277f0ac9ba1ddaffe5692aa4488710a4a83156cf0fa1f76900f251e
Contents?: true
Size: 1.77 KB
Versions: 3
Compression:
Stored size: 1.77 KB
Contents
<div class="scihist-attach-files"> <h1>Add Files</h1> <p>To: <%= @document.title %> (<%= @document.friendlier_id %>) <p>Once the files have been uploaded and are ready for attachment, you can proceed to Attach</p> <%= form_with(url: asset_ingest_path(@document && @document.friendlier_id), method: :post, local: true) do |form| %> <div class="row"> <div class="col-md-6 mb-3"> <h2>1. Upload Files</h2> <%= content_tag "div", class: "uppy-dashboard-container", data: UploadUtil.kithe_upload_data_config do %> <% end %> </div> <div class="col-sm-6"> <h2>2. Attach files</h2> <div class="d-flex justify-content-between"> <%= form.submit "Attach", class: "btn btn-primary btn-lg", data: { toggle: "kithe-upload-submit" } %> <%= link_to "Cancel", document_path(@document), class: "btn btn-outline-secondary btn-lg", data: { confirm: "Cancel attach files?" } %> </div> <p class="text-muted small mt-3"> <i class="fa fa-info-circle mr-2" aria-hidden="true"></i> Use the <b>restricted</b> storage type for confidential files such as restricted oral histories. Otherwise, normally use <b>public</b> storage type. </p> <table class="table table-sm mt-3 attach-files-table" data-toggle="cached-files-table"> <tr> <th class="attach-files-table-filename">Filename</th> <th class="attach-files-table-size">Size</th> <th class="attach-files-table-storage-type">Storage Type</th> <th class="attach-files-table-remove"></th> </tr> </table> </div> </div> <% end %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems