items per page

This commit is contained in:
madhekare 2021-04-07 21:26:31 -07:00 committed by CactusPuppy
parent 80d94337a2
commit 779ed123e7
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
3 changed files with 5 additions and 5 deletions

View file

@ -57,9 +57,8 @@
%h2.text-center{:style => "margin-bottom:30px"} Happening Now
- for event_schedule in @events_schedules
= render 'schedules/event', conference: @conference, event_schedule: event_schedule, event: event_schedule.event
- if @events_schedules.length > 3
.container{:style => "margin:auto; width:50%"}
!= pagy_nav(@pagy)
.container{:style => "margin:auto; width:50%"}
!= pagy_nav(@pagy)
- else
.row
%h3.text-center There are no events happening now.