summaryrefslogtreecommitdiff
path: root/app/views/teams
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/teams')
-rw-r--r--app/views/teams/index.html.erb2
-rw-r--r--app/views/teams/show.html.erb2
2 files changed, 1 insertions, 3 deletions
diff --git a/app/views/teams/index.html.erb b/app/views/teams/index.html.erb
index b077e10..397bfc6 100644
--- a/app/views/teams/index.html.erb
+++ b/app/views/teams/index.html.erb
@@ -14,7 +14,7 @@
<tr>
<td><%= link_to 'Show', team %></td>
<td><%= link_to 'Edit', edit_team_path(team) %></td>
- <td><%= link_to 'Destroy', team, method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <td><%= button_to 'Destroy', team, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
diff --git a/app/views/teams/show.html.erb b/app/views/teams/show.html.erb
index 5b18d33..ab49d65 100644
--- a/app/views/teams/show.html.erb
+++ b/app/views/teams/show.html.erb
@@ -1,4 +1,2 @@
-<p id="notice"><%= notice %></p>
-
<%= link_to 'Edit', edit_team_path(@team) %> |
<%= link_to 'Back', teams_path %>