stadtratmonitor/app/views/search/index.html.slim
2015-04-27 23:28:35 +02:00

25 lines
507 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 = doc.published_at
= link_to doc.url, target: '_blank' do
div = doc.name
div
= paginate @papers