Generate QR codes when not present and asked for
Some checks failed
CI / scan_ruby (push) Failing after 18s
CI / scan_js (push) Successful in 13s
CI / lint (push) Successful in 15s
CI / test (push) Failing after 42s

This commit is contained in:
sto
2025-11-20 15:50:50 +01:00
parent c4f0f603f6
commit b43a801e3c
3 changed files with 13 additions and 2 deletions

View File

@@ -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