X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2Flist.rhtml;h=afe84edfba9b169e5115e1ef319f7a2b51d18f04;hb=38bf6e867a85ce3283a5b696bfa54afc63fa75bd;hp=1a0ec1642e9c48e0081ba5be03875171bd797a01;hpb=3947513155ffed3b49a2cd0e80cd3ef26b551f59;p=cs356-p2-videostore.git diff --git a/app/views/video/list.rhtml b/app/views/video/list.rhtml index 1a0ec16..afe84ed 100644 --- a/app/views/video/list.rhtml +++ b/app/views/video/list.rhtml @@ -2,20 +2,24 @@
Video ID | -Checked Out | - <% for column in Video.content_columns %> -<%= column.human_name %> | - <% end %> +Video ID | +Checked Out | +Title | +New Release | +Genre | +Director | +Media | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<%=h video.id %> | -<%=h video.checkedout? %> | - <% for column in Video.content_columns %> -<%=h video.send(column.name) %> | - <% end %> +<%=h video.id %> | +<%=h video.checkedout? %> | +<%=h video.title %> | +<%=h video.newrelease %> | +<%=h video.genre %> | +<%=h video.director %> | +<%=h video.media_name %> | <%= link_to 'Show', :action => 'show', :id => video %> | <%= link_to 'Edit', :action => 'edit', :id => video %> | <%= link_to 'Destroy', { :action => 'destroy', :id => video }, :confirm => 'Are you sure?', :method => :post %> |