<h3 class="summary"><%= t('.your-search-header'), start: @start, end: @end, total: pluralize(@total, 'result') %></h3> <% @results.each do |p| %> <div class="result"><!-- ... --></div> <% end %> <%= paginate @search, window: 1 %>