mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 15:11:35 +02:00
use dsl for search definition and fix pagination
This commit is contained in:
parent
aa644818c4
commit
5b677ab3ca
5 changed files with 28 additions and 37 deletions
|
@ -2,13 +2,13 @@ div
|
|||
= render 'search/form'
|
||||
|
||||
.clearfix
|
||||
- if @show_search_result
|
||||
- if params[:q].present?
|
||||
.left
|
||||
| #{@papers_count} Treffer
|
||||
| #{@papers.total} Treffer
|
||||
.right
|
||||
/ button.button. TODO: Suche Abbonieren
|
||||
- else
|
||||
| #{@papers_count} Dokumente in der Datenbank
|
||||
| #{@papers.total} Dokumente in der Datenbank
|
||||
div
|
||||
ul.no-bullet
|
||||
- @papers.each do |doc|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue