projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Bitem (bought items) MVC
[cs356-p2-videostore.git]
/
app
/
views
/
bitem
/
show.rhtml
diff --git a/app/views/bitem/show.rhtml
b/app/views/bitem/show.rhtml
new file mode 100644
(file)
index 0000000..
fd2d14b
--- /dev/null
+++ b/
app/views/bitem/show.rhtml
@@ -0,0
+1,8
@@
+<% for column in Bitem.content_columns %>
+<p>
+ <b><%= column.human_name %>:</b> <%=h @bitem.send(column.name) %>
+</p>
+<% end %>
+
+<%= link_to 'Edit', :action => 'edit', :id => @bitem %> |
+<%= link_to 'Back', :action => 'list' %>