]> git.openstreetmap.org Git - rails.git/commit
Diary entries #index: Migrate to bootstrap pagination
authorTobias Jordans <t@tobiasjordans.de>
Wed, 30 Dec 2020 13:20:13 +0000 (14:20 +0100)
committerTobias Jordans <t@tobiasjordans.de>
Wed, 30 Dec 2020 13:20:13 +0000 (14:20 +0100)
commitabc83298cdc9f63a1956ee5a7d30f75b7c7dec07
treeb1e559e633af6b6db6d4a2587e2ae1795c489e8e
parente39255644410f09d294970b6d67dbc90076b1355
Diary entries #index: Migrate to bootstrap pagination

Use https://getbootstrap.com/docs/4.5/components/pagination/ for the pagination.

I tried using link_to_if but this does not work well in this case since multiple changes need to happen for the disabled state.
app/views/diary_entries/index.html.erb