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 @@ - - - <% for column in Video.content_columns %> - - <% end %> + + + + + + + <% for video in @videos %> - - - <% for column in Video.content_columns %> - - <% end %> + + + + + + +
Video IDChecked Out<%= column.human_name %>Video IDChecked OutTitleNew ReleaseGenreDirectorMedia
<%=h video.id %><%=h video.checkedout? %><%=h video.send(column.name) %><%=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 %>