-<h1>Listing video_genres</h1>
+<h1>Listing Video Genres</h1>
-<table>
+<table border="1">
<tr>
- <% for column in VideoGenre.content_columns %>
- <th><%= column.human_name %></th>
- <% end %>
+ <th>Name</th>
</tr>
<% for video_genre in @video_genres %>
<tr>
- <% for column in VideoGenre.content_columns %>
- <td><%=h video_genre.send(column.name) %></td>
- <% end %>
- <td><%= link_to 'Show', :action => 'show', :id => video_genre %></td>
+ <td><%= link_to video_genre.name, :action => 'show', :id => video_genre %></td>
<td><%= link_to 'Edit', :action => 'edit', :id => video_genre %></td>
- <td><%= link_to 'Destroy', { :action => 'destroy', :id => video_genre }, :confirm => 'Are you sure?', :method => :post %></td>
</tr>
<% end %>
</table>