summaryrefslogtreecommitdiff
path: root/app/views/games/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/games/index.html.erb')
-rw-r--r--app/views/games/index.html.erb8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/games/index.html.erb b/app/views/games/index.html.erb
index 71e59a0..5a1a270 100644
--- a/app/views/games/index.html.erb
+++ b/app/views/games/index.html.erb
@@ -1,6 +1,6 @@
<h1>Listing games</h1>
-<table>
+<table class="table table-hover">
<thead>
<tr>
<th>Parent</th>
@@ -28,7 +28,7 @@
<td><%= game.scoring_method %></td>
<td><%= link_to 'Show', game %></td>
<td><%= link_to 'Edit', edit_game_path(game) %></td>
- <td><%= link_to 'Destroy', game, method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <td><%= button_to 'Destroy', game, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
@@ -36,4 +36,6 @@
<br>
-<%= link_to 'New Game', new_game_path %>
+
+<%= link_to 'New Game', new_game_path, {:class => "btn btn-warning"} %>
+