app/views/browse/_subjects.html.erb
<%= render Browse::Controls.new(
navigator: Browse::FacetNavigation.new(list: subject_list)
) %>
<table class="table table-striped my-3">
<thead>
<tr>
<th scope="col">Subject Heading</th>
<th scope="col">Count</th>
</tr>
</thead>
<tbody>
<% subject_list.entries.map do |item| %>
<tr>
<td><%= link_to item.value, search_catalog_path("f[#{subject_list.field}][]" => item.value) %></td>
<td><%= item.hits %></td>
</tr>
<% end %>
</tbody>
</table>
<%= render Browse::Controls.new(
navigator: Browse::FacetNavigation.new(list: subject_list)
) %>