Generate QR codes when not present and asked for
This commit is contained in:
@@ -7,5 +7,6 @@
|
||||
- if row * 4 + col < @contestants.length
|
||||
.d-flex.flex-column.ms-5 style="align-items: center"
|
||||
= @contestants[row * 4 + col].name
|
||||
.mt-1 style="width: 200px; height: 200px;"
|
||||
= @contestants[row * 4 + col].qrcode.html_safe
|
||||
- if @contestants[row * 4 + col].qrcode.present?
|
||||
.mt-1 style="width: 200px; height: 200px;"
|
||||
= @contestants[row * 4 + col].qrcode.html_safe
|
||||
Reference in New Issue
Block a user