<%= notice %>
<% if tournament_permissions(@tournament) %> <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %> | <% end %> <%= link_to 'Back', '/tournaments', :class=>"btn btn-default" %>Address: <%= @tournament.address %>
Director: <%= @tournament.director %>
Director email: <%= @tournament.director_email %>
Tournament Type: <%= @tournament.tournament_type %>
| Name | |
|---|---|
| <%= school.name %> | <%= link_to 'Show', school, :class=>"btn btn-default" %> <% if tournament_permissions(@tournament) %> <%= link_to 'Edit', edit_school_path(school), :class=>"btn btn-primary" %> <%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %> <% end %> |
| Weight Class | Bracket Size | |
|---|---|---|
| <%= weight.max %> | <%= weight.bracket_size %> | <%= link_to 'Show', weight, :class=>"btn btn-default" %> <% if tournament_permissions(@tournament) %> <%= link_to 'Edit', edit_weight_path(weight), :class=>"btn btn-primary" %> <%= link_to 'Destroy', weight, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %> <% end %> |
| Name | |
|---|---|
| <%= mat.name %> | <% if tournament_permissions(@tournament) %> <%= link_to 'Show', mat, :class=>"btn btn-default" %> <%= link_to 'Destroy', mat, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %> <% end %> |