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