Skip to content

Commit

Permalink
DocumentAccesses: Use same table headers and CSV headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Jun 26, 2024
1 parent 95899ad commit 7eaba49
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/views/admin/document_accesses/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@
<thead class="thead-dark">
<tr>
<th class="header" colspan="2">Actions</th>
<th class="header">Layer Slug</th>
<th class="header">Institution Code</th>
<th class="header">Institution Name</th>
<th class="header" style="max-width:200px;">Access URL</th>
<th class="header">id</th>
<th class="header">friendlier_id</th>
<th class="header">institution_code</th>
<th class="header">institution_name</th>
<th class="header" style="max-width:200px;">access_url</th>
</tr>
</thead>

Expand All @@ -52,6 +53,7 @@
<tr>
<td><%= link_to 'Edit', edit_admin_document_document_access_path(document_access.document, document_access) %></td>
<td><%= link_to 'Destroy', admin_document_document_access_path(document_access.document, document_access), method: :delete, data: { confirm: 'Are you sure?' } %></td>
<td><%= document_access.id %></td>
<td><%= link_to document_access.friendlier_id, admin_document_path(document_access.document) %></td>
<td><%= document_access.institution_code %></td>
<td><%= b1g_institution_codes[document_access.institution_code] %></td>
Expand Down

0 comments on commit 7eaba49

Please sign in to comment.