Add Purchase system
[cs356-p2-videostore.git] / app / views / purchase / buy_begin.rhtml
diff --git a/app/views/purchase/buy_begin.rhtml b/app/views/purchase/buy_begin.rhtml
new file mode 100644 (file)
index 0000000..7ea2912
--- /dev/null
@@ -0,0 +1,11 @@
+<h1>Purchase some Merchandise</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 => 'buy_validate'%>
+<%= text_field 'merchandise_id', nil %>
+  <%= submit_tag 'Ok' %></form>
+<%= end_form_tag %>
+
+