X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2Flist.rhtml;h=27bd31839da8f7c4ae2323a17e9d12ee5090001a;hb=d13e443cd5c78d0d4d5053202a70a251b3e6d111;hp=b98120256589e182da537310515381f516d33a9a;hpb=0acc9549b65f2c3cd1840f39e31f2177a98bc55e;p=cs356-p2-videostore.git diff --git a/app/views/video/list.rhtml b/app/views/video/list.rhtml index b981202..27bd318 100644 --- a/app/views/video/list.rhtml +++ b/app/views/video/list.rhtml @@ -2,16 +2,24 @@
<%= column.human_name %> | - <% end %> +Video ID | +Checked Out | +Title | +New Release | +Genre | +Director | +Media | |||
---|---|---|---|---|---|---|---|---|---|---|
<%=h video.send(column.name) %> | - <% end %> +<%=h video.id %> | +<%=h video.checkedout? %> | +<%=h video.title %> | +<%=h video.newrelease %> | +<%=h Videogenre.find(video.video_genre).name %> | +<%=h video.director %> | +<%=h video.media %> | <%= 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 %> |