paper_type facets

This commit is contained in:
Lars Henrik Mai 2015-06-13 21:18:55 +02:00 committed by Andreas Haller
parent 5b677ab3ca
commit f709c399be
3 changed files with 32 additions and 1 deletions

View file

@ -1,6 +1,13 @@
div
= render 'search/form'
.row
.small-4.columns
ul
- @paper_type_facets.each do |paper_type, count|
li.facet
= "#{paper_type} (#{count})"
.clearfix
- if params[:q].present?
.left