projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the has_many_polymorphs plugin
[cs356-p2-videostore.git]
/
vendor
/
plugins
/
has_many_polymorphs
/
test
/
integration
/
app
/
app
/
views
/
users
/
new.html.erb
diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/app/views/users/new.html.erb
b/vendor/plugins/has_many_polymorphs/test/integration/app/app/views/users/new.html.erb
new file mode 100644
(file)
index 0000000..
bc76aa6
--- /dev/null
+++ b/
vendor/plugins/has_many_polymorphs/test/integration/app/app/views/users/new.html.erb
@@ -0,0
+1,11
@@
+<h1>New user</h1>
+
+<%= error_messages_for :user %>
+
+<% form_for(@user) do |f| %>
+ <p>
+ <%= f.submit "Create" %>
+ </p>
+<% end %>
+
+<%= link_to 'Back', users_path %>