about summary refs log tree commit diff
path: root/app/views/players/_player.html.erb
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2022-01-15 12:10:26 -0500
committerBen Harris <ben@tilde.team>2022-01-15 12:10:26 -0500
commit2c8c227493509175fcdbcba3e6a85f8b954a169e (patch)
tree56c95cb471004fef1bfa4c99e93fdec1716e3840 /app/views/players/_player.html.erb
init
Diffstat (limited to 'app/views/players/_player.html.erb')
-rw-r--r--app/views/players/_player.html.erb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/players/_player.html.erb b/app/views/players/_player.html.erb
new file mode 100644
index 0000000..35e7cb1
--- /dev/null
+++ b/app/views/players/_player.html.erb
@@ -0,0 +1,17 @@
+<div id="<%= dom_id player %>">
+  <p>
+    <strong>Name:</strong>
+    <%= player.name %>
+  </p>
+
+  <p>
+    <strong>Paid:</strong>
+    <%= player.paid %>
+  </p>
+
+  <p>
+    <strong>Strikes:</strong>
+    <%= player.strikes %>
+  </p>
+
+</div>