Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / integration / app / app / views / addresses / new.html.erb
diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/app/views/addresses/new.html.erb b/vendor/plugins/has_many_polymorphs/test/integration/app/app/views/addresses/new.html.erb
new file mode 100644 (file)
index 0000000..1fae44c
--- /dev/null
@@ -0,0 +1,11 @@
+<h1>New address</h1>
+
+<%= error_messages_for :address %>
+
+<% form_for(@address) do |f| %>
+  <p>
+    <%= f.submit "Create" %>
+  </p>
+<% end %>
+
+<%= link_to 'Back', addresses_path %>