tracks/app/views/search/_show_results_collection.html.erb
Robin Dickson f5ae06899f Fix spacing in search results heading
Based on the style used in the projects index page.

Fixes #2003.
2016-05-15 18:09:06 +01:00

15 lines
368 B
Text

<%
collection = show_results_collection
collection_name ||= 'unknown'
collection_title ||= 'unknown object'
unless collection.empty?
-%>
<div id="<%=collection_name%>-container" class="container">
<h2>
<span id="<%=collection_name%>" class="badge"><%= collection.size %></span>
<%= collection_title %>
</h2>
<%= yield %>
</div>
<% end -%>