21 lines
327 B
Plaintext
21 lines
327 B
Plaintext
<h2>Users</h2>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Balance</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @users.each do |user| %>
|
|
<tr>
|
|
<td><%= user.id %></td>
|
|
<td><%= user.name %></td>
|
|
<td><%= user.balance %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|