X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Frentable%2Fshow.rhtml;fp=app%2Fviews%2Frentable%2Fshow.rhtml;h=49b75fd1157287452bf32ca3dd78711d09df3af2;hb=7ab58ec3c4bc5d29a77db40341840ad7eac97be0;hp=0000000000000000000000000000000000000000;hpb=9e88a7e8b8fb98ff5443713686af6e58351d67a5;p=cs356-p2-videostore.git diff --git a/app/views/rentable/show.rhtml b/app/views/rentable/show.rhtml new file mode 100644 index 0000000..49b75fd --- /dev/null +++ b/app/views/rentable/show.rhtml @@ -0,0 +1,8 @@ +<% for column in Rentable.content_columns %> +

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

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