Sha256: cc15a93790bac273f23d4c94fdae49a255ff8e2c68d648096600bb745c449538
Contents?: true
Size: 955 Bytes
Versions: 4
Compression:
Stored size: 955 Bytes
Contents
<div id="<%= service_name.dasherize %>" class="module-contents"> <% if searcher.is_a? StandardError %> <%= render partial: '/quick_search/search/search_error', locals: { service_name: service_name, page: page, template: 'with_paging' } %> <% elsif searcher.results.blank? %> <%= render partial: '/quick_search/search/no_results', locals: { :service_name => service_name } %> <% else %> <% total = number_with_delimiter(searcher.total) %> <p>Page <%= page %> of <%= total %> <%= t("#{service_name}_search.short_display_name") %> results</p> <ol> <%= render partial: '/quick_search/search/result', collection: searcher.results %> </ol> <%= paginate searcher.paging, :params => { :controller => 'search', :action => 'single_searcher', :searcher_name => service_name, :endpoint => nil, :template => nil, :format => nil }, :views_prefix => 'quick_search' %> <% end %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems