Sha256: d926d6ef8ff68ab91afeb5dcaf8372998de2ea05e4d3c75e8cfef4a7a6074e76

Contents?: true

Size: 1.79 KB

Versions: 5

Compression:

Stored size: 1.79 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: admin_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: Admin::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", admin_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

5 entries across 5 versions & 1 rubygems

Version Path
geoblacklight_admin-0.4.1 app/views/admin/document_assets/display_attach_form.html.erb
geoblacklight_admin-0.4.0 app/views/admin/document_assets/display_attach_form.html.erb
geoblacklight_admin-0.3.2 app/views/admin/document_assets/display_attach_form.html.erb
geoblacklight_admin-0.3.1 app/views/admin/document_assets/display_attach_form.html.erb
geoblacklight_admin-0.3.0 app/views/admin/document_assets/display_attach_form.html.erb