X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=vendor%2Fplugins%2Fhas_many_polymorphs%2Ftest%2Fintegration%2Fapp%2Fapp%2Fviews%2Fstates%2Findex.html.erb;fp=vendor%2Fplugins%2Fhas_many_polymorphs%2Ftest%2Fintegration%2Fapp%2Fapp%2Fviews%2Fstates%2Findex.html.erb;h=07c11ae12f3b0a0c4de14e15a3f597efa926a6b4;hb=97369db0c55dbf9d52059116497995481d9d163d;hp=0000000000000000000000000000000000000000;hpb=9937b32d7394e77fa89915b66f9645024ccb2009;p=cs356-p2-videostore.git diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/app/views/states/index.html.erb b/vendor/plugins/has_many_polymorphs/test/integration/app/app/views/states/index.html.erb new file mode 100644 index 0000000..07c11ae --- /dev/null +++ b/vendor/plugins/has_many_polymorphs/test/integration/app/app/views/states/index.html.erb @@ -0,0 +1,19 @@ +

Listing states

+ + + + + +<% for state in @states %> + + + + + + +<% end %> +
<%= state.name %><%= link_to 'Show', state %><%= link_to 'Edit', edit_state_path(state) %><%= link_to 'Destroy', state, :confirm => 'Are you sure?', :method => :delete %>
+ +
+ +<%= link_to 'New state', new_state_path %>