about summary refs log tree commit diff stats
path: root/app/views/games/index.html.haml
blob: 64fbfd9a2518d5b1c381b8adde816c8d6244256e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- title "Games"
%h2 Games
%table#games-table
  %tr
    %th Title
    %th Status
    %th Score
    %th Progress
  - @games.each do |game|
    %tr{ class: cycle("even", "odd") }
      %td= game.title
      %td= game.status
      %td= game.score
      %td.game-progress= simple_format game.progress