_leaderboard.html.slim 335 Bytes
h1 Leaderboard
table.leaderboard
  tbody
    - @leaders.each do |group_name, data|
      tr
        td colspan=2 = group_name
      - data[:leaderboard].each do |user_name, points|
        tr
          td = user_name
          td = points
      - if data[:leaderboard].empty?
        tr
          td colspan=2 There are no results yet