app/views/admin/document_accesses/import.html.erb in geoblacklight_admin-0.0.1 vs app/views/admin/document_accesses/import.html.erb in geoblacklight_admin-0.1.0
- old
+ new
@@ -1,11 +1,11 @@
<p id="notice"><%= notice %></p>
<h1 style="width:100%; border-bottom:dotted;" class="mb-4">
Document · Institutional Access
<% if params[:document_id] %>
- <%= link_to '+ New Access URL', new_document_document_access_path(@document), { class: 'btn btn-primary float-right' } %>
+ <%= link_to '+ New Access URL', new_admin_document_document_access_path(@document), { class: 'btn btn-primary float-right' } %>
<% end %>
</h1>
<div class="row">
<div class="col-6">
@@ -14,10 +14,10 @@
<% else %>
<h2 class='h3'>Import for Multiple Documents</h2>
<% end %>
<h3 class='h4'>Import a CSV File</h3>
- <%= simple_form_for DocumentAccess.new, url: import_document_accesses_path, method: :post, multipart: true do |f| %>
+ <%= simple_form_for DocumentAccess.new, url: import_admin_document_accesses_path, method: :post, multipart: true do |f| %>
<div class="form-inputs">
<%= f.simple_fields_for :assets do |asset_fields| %>
<%= asset_fields.input :file, as: :file, input_html: {} %>
<%- end %>
</div>