Add video mvc
[cs356-p2-videostore.git] / app / views / video / show.rhtml
diff --git a/app/views/video/show.rhtml b/app/views/video/show.rhtml
new file mode 100644 (file)
index 0000000..d7d089d
--- /dev/null
@@ -0,0 +1,8 @@
+<% for column in Video.content_columns %>
+<p>
+  <b><%= column.human_name %>:</b> <%=h @video.send(column.name) %>
+</p>
+<% end %>
+
+<%= link_to 'Edit', :action => 'edit', :id => @video %> |
+<%= link_to 'Back', :action => 'list' %>