<%= t('activerecord.models.subject') -%>
<%- unless @subject_facet.blank? -%>
<%- @subject_facet[0..19].each do |facet| -%>
<%- subject = Subject.where(:id => facet.value).first -%>
<%- if subject -%>
-
<%= link_to "#{subject.term} (#{facet.count})", url_for(params.merge(:page => nil, :subject => "\"#{subject.term}\"", :view => nil, :only_path => true)) -%>
<%- end -%>
<%- end -%>
<%- if @subject_by_term -%>
- <%= link_to t('page.remove_this_facet'), url_for(params.merge(:subject => nil, :page => nil, :view => nil, :only_path => true)) -%>
<%- end -%>
<%- else -%>
<%= t('page.no_subject') -%>
<%- end -%>