diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-09 15:50:22 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-09 15:50:22 +0200 |
| commit | ae48c9e86411f8f54f29e72a11b1e4ced48fe437 (patch) | |
| tree | 2a1f008155d2698e1465cb781cc20d1bf729c838 /app/views | |
| parent | 0bc7bdc7cd2fc111e4e161065b217bd2ddecfbec (diff) | |
Paginate Events index
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/events/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index b6a5b1f..f579fc0 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | <%= link_to 'New event', new_event_path, class: 'action_button' %> | 3 | <%= link_to 'New event', new_event_path, class: 'action_button' %> |
| 4 | 4 | ||
| 5 | <%= will_paginate @events %> | ||
| 6 | |||
| 5 | <table class="events_table"> | 7 | <table class="events_table"> |
| 6 | <tr class="header"> | 8 | <tr class="header"> |
| 7 | <th>Title</th> | 9 | <th>Title</th> |
| @@ -27,5 +29,3 @@ | |||
| 27 | </tr> | 29 | </tr> |
| 28 | <% end %> | 30 | <% end %> |
| 29 | </table> | 31 | </table> |
| 30 | |||
| 31 | <%= link_to 'New event', new_event_path, class: 'action_button' %> | ||
