Add Purchase system
[cs356-p2-videostore.git] / app / views / purchase / rent_begin.rhtml
diff --git a/app/views/purchase/rent_begin.rhtml b/app/views/purchase/rent_begin.rhtml
new file mode 100644 (file)
index 0000000..f69769a
--- /dev/null
@@ -0,0 +1,10 @@
+<h1>Check out a Rentable Item</h1>
+
+<p>Please read the item's ID number off of the bar code, and type it into
+the box below.</p>
+
+<%= start_form_tag :action => 'rent_validate'%>
+<%= text_field 'rentable_id', nil %>
+  <%= submit_tag 'Ok' %></form>
+<%= end_form_tag %>
+