Sha256: 65ff4480cf3b4dee66777ccb392f0c99ada5503d75a6fd5c179b16cf34118f56
Contents?: true
Size: 889 Bytes
Versions: 6
Compression:
Stored size: 889 Bytes
Contents
<h4><%= t('activerecord.models.classification') -%></h4> <%- unless @classification_facet.blank? -%> <ul> <% @classification_facet.each do |category| %> <li> <% if category.value == params[:classification].to_s.downcase %><strong><% end %> <%= link_to "#{t('classification.category', number: category.value)} #{category_name(category.value)} (#{category.count})", url_for(request.params.merge(classification: category.value, page: nil, view: nil, only_path: true)) %> <% if category.value == params[:classification].to_s.downcase %></strong><% end %> </li> <% end %> <%- if params[:classification] -%> <li><%= link_to t('page.remove_this_facet'), url_for(request.params.merge(classification: nil, page: nil, view: nil, only_path: true)) -%></li> <%- end -%> </ul> <%- else -%> <p><%= t('page.no_subject') -%></p> <%- end -%>
Version data entries
6 entries across 6 versions & 1 rubygems