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