mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-30 11:04:56 +00:00
Updated all links
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
} );
|
||||
</script>
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn btn-default" %>
|
||||
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn btn-success" %>
|
||||
<% end %>
|
||||
</br>
|
||||
</br>
|
||||
@@ -24,7 +24,7 @@
|
||||
<td><%= tournament.name %></td>
|
||||
<td><%= link_to 'Show', tournament, :class=>"btn btn-default" %>
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to 'Edit', edit_tournament_path(tournament), :class=>"btn btn-default" %>
|
||||
<%= link_to 'Edit', edit_tournament_path(tournament), :class=>"btn btn-primary" %>
|
||||
<%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user