<h2 class="supporting">Results</h2>

<article class="incident-index-results" id="results">

</article>

<h1 class="incident-index-results-description">
  <strong class="query-count"><%= @incidents.total_count %></strong>

  <% if params[:incident_type] %>
  <strong class="type">
    <%= params[:incident_type] %>
  </strong>
  <% end %>

  incident reports

  <% if params[:by_detailed_report] %>
    with attatched <strong>Incident Detail Reports</strong>
  <% end %>

  <% if @location_name %>
    from <strong class="location"><%= @location_name %></strong>
  <% end %>

  between

  <strong class="start-date">
    <%= @start_date.strftime("%e %b %Y") %>
  </strong>

  and

  <strong class="end-date">
    <%=@end_date.strftime("%e %b %Y") %>.
  </strong>
</h1>

<section class="incident-index-results-reference">
  <%= link_to "Permalink", params, class: 'incident-index-permalink', title: 'url to share or bookmark these results' %>

  <!-- <a class="incident-index-order-by" href="" title="Reorder the filter results, currently sorted by newest first, to see the oldest incident first.">See oldest first</a> -->
    <nav class="pagination-block">
      <p class="pagination-details">
        <%=  page_entries_info @incidents %>
      </p>

      <%= paginate @incidents %>
    </nav>
  </section>

<h2 class="supporting">Results</h2>

<article class="incident-index-results" id="results">

</article>

<h1 class="incident-index-results-description">
  <strong class="query-count"><%= @incidents.total_count %></strong>

  <% if params[:incident_type] %>
  <strong class="type">
    <%= params[:incident_type] %>
  </strong>
  <% end %>

  incident reports

  <% if params[:by_detailed_report] %>
    with attatched <strong>Incident Detail Reports</strong>
  <% end %>

  <% if @location_name %>
    from <strong class="location"><%= @location_name %></strong>
  <% end %>

  between

  <strong class="start-date">
    <%= @start_date.strftime("%e %b %Y") %>
  </strong>

  and

  <strong class="end-date">
    <%=@end_date.strftime("%e %b %Y") %>.
  </strong>
</h1>

<section class="incident-index-results-reference">
  <%= link_to "Permalink", params, class: 'incident-index-permalink', title: 'url to share or bookmark these results' %>

  <!-- <a class="incident-index-order-by" href="" title="Reorder the filter results, currently sorted by newest first, to see the oldest incident first.">See oldest first</a> -->
    <nav class="pagination-block">
      <p class="pagination-details">
        <%=  page_entries_info @incidents, :entry_name => 'Incident Reports' %>
      </p>

      <%= paginate @incidents %>
    </nav>
  </section>

Use Incident Reports over Incidents
Use Incident Reports over Incidents
