diff options
author | Ben Harris <ben@tilde.team> | 2021-08-21 19:30:19 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-08-21 19:30:33 -0400 |
commit | 819a3edae405227f11283ad494a7f4ca9c771467 (patch) | |
tree | 8da57ee1777f992f4f13879795916615009f6a53 /app/views/players/index.html.erb |
init
Diffstat (limited to 'app/views/players/index.html.erb')
-rw-r--r-- | app/views/players/index.html.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/players/index.html.erb b/app/views/players/index.html.erb new file mode 100644 index 0000000..cedaad3 --- /dev/null +++ b/app/views/players/index.html.erb @@ -0,0 +1,12 @@ +<h1>Pinball Players</h1> + +<ul> + <% @players.each do |player| %> + <li> + <%= link_to player.name, player %> + </li> + <% end %> +</ul> + +<%= link_to "Add player", new_player_path %> + |