projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change video's director column to a string
[cs356-p2-videostore.git]
/
app
/
views
/
game
/
list.rhtml
diff --git
a/app/views/game/list.rhtml
b/app/views/game/list.rhtml
index
f1317de
..
1a17dbf
100644
(file)
--- a/
app/views/game/list.rhtml
+++ b/
app/views/game/list.rhtml
@@
-2,6
+2,8
@@
<table>
<tr>
<table>
<tr>
+ <th>Game ID</th>
+ <th>Checked Out</th>
<% for column in Game.content_columns %>
<th><%= column.human_name %></th>
<% end %>
<% for column in Game.content_columns %>
<th><%= column.human_name %></th>
<% end %>
@@
-9,6
+11,8
@@
<% for game in @games %>
<tr>
<% for game in @games %>
<tr>
+ <td><%=h game.id %></td>
+ <td><%=h game.checkedout? %></td>
<% for column in Game.content_columns %>
<td><%=h game.send(column.name) %></td>
<% end %>
<% for column in Game.content_columns %>
<td><%=h game.send(column.name) %></td>
<% end %>