53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
= render "worlds_nav"
|
|
|
|
.row.mt-3
|
|
.col
|
|
h4 = t("worlds.main.world_participants")
|
|
table.table.table-striped.table-hover
|
|
thead
|
|
tr
|
|
th = t("worlds.main.rank")
|
|
th = t("worlds.main.name")
|
|
th = t("worlds.main.score")
|
|
tbody
|
|
- @world_bets_w.each_with_index do |b, i|
|
|
tr
|
|
- if i == 0
|
|
td 🥇
|
|
- elsif i == 1
|
|
td 🥈
|
|
- elsif i == 2
|
|
td 🥉
|
|
- else
|
|
td #{i + 1}
|
|
td #{b.name}
|
|
td #{b.world_score}
|
|
td
|
|
a.btn.btn-sm.btn-secondary href="/wjpc_bets/#{@lang}/view/#{b.id}"
|
|
= t("worlds.main.view_bet")
|
|
|
|
.row.mt-3
|
|
.col
|
|
h4 = t("worlds.main.french_participants")
|
|
table.table.table-striped.table-hover
|
|
thead
|
|
tr
|
|
th = t("worlds.main.rank")
|
|
th = t("worlds.main.name")
|
|
th = t("worlds.main.score")
|
|
tbody
|
|
- @world_bets_f.each_with_index do |b, i|
|
|
tr
|
|
- if i == 0
|
|
td 🥇
|
|
- elsif i == 1
|
|
td 🥈
|
|
- elsif i == 2
|
|
td 🥉
|
|
- else
|
|
td #{i + 1}
|
|
td #{b.name}
|
|
td #{b.french_score}
|
|
td
|
|
a.btn.btn-sm.btn-secondary href="/wjpc_bets/#{@lang}/view/#{b.id}"
|
|
= t("worlds.main.view_bet") |