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