7 <% for column in Game.content_columns %>
8 <th><%= column.human_name %></th>
12 <% for game in @games %>
14 <td><%=h game.id %></td>
15 <td><%=h game.checkedout? %></td>
16 <% for column in Game.content_columns %>
17 <td><%=h game.send(column.name) %></td>
19 <td><%= link_to 'Show', :action => 'show', :id => game %></td>
20 <td><%= link_to 'Edit', :action => 'edit', :id => game %></td>
21 <td><%= link_to 'Destroy', { :action => 'destroy', :id => game }, :confirm => 'Are you sure?', :method => :post %></td>
26 <%= link_to 'Previous page', { :page => @game_pages.current.previous } if @game_pages.current.previous %>
27 <%= link_to 'Next page', { :page => @game_pages.current.next } if @game_pages.current.next %>
31 <%= link_to 'New game', :action => 'new' %>