X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2Fshow.rhtml;fp=app%2Fviews%2Fvideo%2Fshow.rhtml;h=d7d089df653888b74a457a0ecb66ef1ac03e6c6a;hb=0acc9549b65f2c3cd1840f39e31f2177a98bc55e;hp=0000000000000000000000000000000000000000;hpb=be6d865110840adfc90f572a4cf14f62bc4cf31e;p=cs356-p2-videostore.git diff --git a/app/views/video/show.rhtml b/app/views/video/show.rhtml new file mode 100644 index 0000000..d7d089d --- /dev/null +++ b/app/views/video/show.rhtml @@ -0,0 +1,8 @@ +<% for column in Video.content_columns %> +

+ <%= column.human_name %>: <%=h @video.send(column.name) %> +

+<% end %> + +<%= link_to 'Edit', :action => 'edit', :id => @video %> | +<%= link_to 'Back', :action => 'list' %>