diff --git a/app/views/admin/application/_collection.html.erb b/app/views/admin/application/_collection.html.erb
index 3ada53c7c..563cafcbe 100644
--- a/app/views/admin/application/_collection.html.erb
+++ b/app/views/admin/application/_collection.html.erb
@@ -28,21 +28,23 @@ to display a collection of resources in an HTML table.
scope="col"
role="columnheader"
aria-sort="<%= sort_order(collection_presenter.ordered_html_class(attr_name)) %>">
- <%= link_to(sanitized_order_params(page, collection_field_name).merge(
- collection_presenter.order_params_for(attr_name, key: collection_field_name)
- )) do %>
- <%= t(
- "helpers.label.#{collection_presenter.resource_name}.#{attr_name}",
- default: attr_name.to_s,
- ).titleize %>
- <% if collection_presenter.ordered_by?(attr_name) %>
-
-
-
- <% end %>
+ <%= link_to(sanitized_order_params(
+ page, collection_field_name
+ ).merge(
+ collection_presenter.order_params_for(attr_name, key: collection_field_name),
+ )) do %>
+ <%= t(
+ "helpers.label.#{collection_presenter.resource_name}.#{attr_name}",
+ default: attr_name.to_s,
+ ).titleize %>
+ <% if collection_presenter.ordered_by?(attr_name) %>
+
+
+
<% end %>
+ <% end %>
<% end %>
<% [valid_action?(:edit, collection_presenter.resource_name),
@@ -58,14 +60,12 @@ to display a collection of resources in an HTML table.
tabindex="0"
<% if valid_action? :show, collection_presenter.resource_name %>
<%= %(role=link data-url=#{polymorphic_path([namespace, resource])}) %>
- <% end %>
- >
+ <% end %>>
<% collection_presenter.attributes_for(resource).each do |attribute| %>
<% if show_action? :show, resource -%>
+ class="action-show">
<%= render_field attribute %>
<% end -%>
@@ -73,21 +73,29 @@ to display a collection of resources in an HTML table.
<% end %>
<% if valid_action? :edit, collection_presenter.resource_name %>
-