.row .d-flex.flex-row.justify-content-start.align-items-center a.btn.btn-primary href=new_user_path | New user = button_to "Update contestants", "/update_contestants", method: :post, class: "ms-3 btn btn-success" = button_to "Regenerate QR codes", "/regenerate_qrcodes", method: :post, class: "ms-3 btn btn-success" - @users.each do |user| - if user.admin h3.mt-5 = "#{user.username} (admin)" - else h3.mt-5 = user.username table.table.table-striped.table-hover thead tr th scope="col" | ID th scope="col" | Friendly ID th scope="col" | # Puzzles th scope="col" | # Participants tbody - user.contests.each do |contest| tr scope="row" td = contest.id td = contest.friendly_id td = contest.puzzles.length td = contest.contestants.length td a.btn.btn-sm.btn-secondary href=contest_path(contest) = t("helpers.buttons.open")