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