<section class="search">
  <div class="search__results">
    <% if !page.used? && query %>
      <div class="search__blank-slate blank-slate">
        No matches
      </div>
    <% end %>

    <ul class="search__list">
      <%= with_automatic_pagination :filtered_search_results, page do %>
        <%= render partial: "searches/result", collection: page.records %>
      <% end %>
    </ul>
  </div>
</section>
