blob: 1470d8057d02f6472969d75208a1671238ce6c36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<% if @tournament.joinable_by?(current_user) %>
<%= form_tag(tournament_page(@tournament)+"/join", method: "get") do %>
<%= submit_tag("Join") %>
<% end %>
<% end %>
<p>
<strong>Game:</strong>
<%= @tournament.game %>
</p>
<%= link_to 'Edit', edit_tournament_path(@tournament) %> |
<%= link_to 'Back', tournaments_path %>
|