about summary refs log tree commit diff stats
path: root/app/views/admin/games/index.html.haml
blob: 96c69b83bfe19eede4a348d446f2fffd78462105 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- title "Games"
%table#entries
  %tr
    %th Title
    %th Date published
    %th
  - @games.each do |game|
    %tr{ class: cycle("even", "odd") }
      %td= game.title
      %td= game.created_at.strftime("%B %d, %Y, %l:%M%P")
      %td
        %ul.admin-actions
          %li= link_to "Edit", edit_admin_game_url(game)