about summary refs log tree commit diff
path: root/app/views/players/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/players/new.html.erb')
-rw-r--r--app/views/players/new.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/players/new.html.erb b/app/views/players/new.html.erb
new file mode 100644
index 0000000..c248abe
--- /dev/null
+++ b/app/views/players/new.html.erb
@@ -0,0 +1,9 @@
+<h1>New player</h1>
+
+<%= render "form", player: @player %>
+
+<br>
+
+<div>
+  <%= link_to "Back to players", players_path %>
+</div>