summaryrefslogtreecommitdiff
path: root/app/views/games/ptu/pokemon/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/games/ptu/pokemon/index.html.erb')
-rw-r--r--app/views/games/ptu/pokemon/index.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/games/ptu/pokemon/index.html.erb b/app/views/games/ptu/pokemon/index.html.erb
new file mode 100644
index 0000000..a1d7443
--- /dev/null
+++ b/app/views/games/ptu/pokemon/index.html.erb
@@ -0,0 +1,9 @@
+<h1>Pokemon</h1>
+
+<div class="my-4"><%= link_to "New", new_games_ptu_pokemon_path %></div>
+
+<ul class="list-disc">
+ <% @pokemons.each do |p| %>
+ <li><%= link_to p.name, games_ptu_pokemon_path(p) %></li>
+ <% end %>
+</ul>