stadtratmonitor/app/views/search/index.html.slim
2015-05-17 19:19:59 +02:00

25 lines
519 B
Text

div
= render 'search/form'
.clearfix
- if @show_search_result
.left
| #{@papers_count} Treffer
.right
/ button.button. TODO: Suche Abbonieren
- else
| #{@papers_count} Dokumente in der Datenbank
div
ul.no-bullet
- @papers.each do |doc|
li.search-result
small = doc.paper_type
'
small = doc.originator
'
small = l doc.published_at.to_date
= link_to doc.url, target: '_blank' do
div = doc.name
div
= paginate @papers