<% if params[:document_id] %>
<%= @document.title %>
<% else %>
Import for Multiple Documents
<% end %>
Import a CSV File
<%= simple_form_for DocumentAccess.new, url: import_document_accesses_path, method: :post, multipart: true do |f| %>
<%= f.simple_fields_for :assets do |asset_fields| %>
<%= asset_fields.input :file, as: :file, input_html: {} %>
<%- end %>
<%= submit_tag "Import CSV", {class: 'btn btn-primary'} %>
<% end %>