Sha256: 9a6eb2309e3590bd888f03cb0380497345d609fcf8d0e475386847cee49ed3c5
Contents?: true
Size: 862 Bytes
Versions: 7
Compression:
Stored size: 862 Bytes
Contents
<div class="search_results"> <% if @search_results.blank? %> <h2 class="no_search_results"> <%= raw Alchemy.t('search_result_page.no_results', query: h(params[:query])) %> </h2> <% else %> <h2 class="search_results_heading"> <%= raw Alchemy.t("search_result_page.result_heading", query: h(params[:query])) %> <%= Alchemy.t("search_result_page.result_count", count: @search_results.try(:total_count) || @search_results.size) %> </h2> <ul class="search_result_list"> <% @search_results.each do |page| %> <%= render('alchemy/search/result', elements: page.element_search_results(params[:query]), options: options, page: page ) %> <% end %> </ul> <% end %> </div> <% if @search_results.try(:total_pages) %> <%= paginate @search_results %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems