blob: 7bac76bfd10aa359075761de7cfcfa56e49809bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<h1>nomi pinball</h1>
<%= image_tag "coinslotlogo.png" %>
<table>
<thead>
<th>Name</th>
<th>Paid</th>
<th>Strikes</th>
</thead>
<tbody>
<% @players.order("strikes").each do |player| %>
<tr>
<td><%= link_to player.name, edit_player_path(player) %></td>
<td><%= player.paid %></td>
<td><%= player.strikes %></td>
</tr>
<% end %>
</tbody>
</table>
|