Add customers model-view-controller
[cs356-p2-videostore.git] / app / views / customer / new.rhtml
diff --git a/app/views/customer/new.rhtml b/app/views/customer/new.rhtml
new file mode 100644 (file)
index 0000000..dd49e75
--- /dev/null
@@ -0,0 +1,8 @@
+<h1>New customer</h1>
+
+<% form_tag :action => 'create' do %>
+  <%= render :partial => 'form' %>
+  <%= submit_tag "Create" %>
+<% end %>
+
+<%= link_to 'Back', :action => 'list' %>