Fix number of QR codes shown
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
h1.text-center.mt-4.mb-4 = @contest.name
|
||||
|
||||
.d-flex.flex-column.align-items-center
|
||||
- for row in 0..((@contestants.length - 1) / 5)
|
||||
- for row in 0..((@contestants.length - 1) / 4)
|
||||
.mt-4.d-flex.flex-row
|
||||
- for col in 0..3
|
||||
- if row * 4 + col < @contestants.length
|
||||
|
||||
Reference in New Issue
Block a user