<%= notice %>
<%= link_to 'Edit', edit_tournament_path(@tournament) %> | <%= link_to 'Back', tournaments_path %>Address: <%= @tournament.address %>
Director: <%= @tournament.director %>
Director email: <%= @tournament.director_email %>
| Name | Score | |
|---|---|---|
| <%= school.name %> | <%= school.score %> | <%= link_to 'Show', school, :class=>"btn" %> <% if user_signed_in? %> <%= link_to 'Edit', edit_school_path(school), :class=>"btn" %> <%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %> <% end %> |