mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-20 14:09:17 +00:00
Added button to generate matches
This commit is contained in:
3
app/views/static_pages/generate_matches.html.erb
Normal file
3
app/views/static_pages/generate_matches.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" %>
|
||||
<br>
|
||||
Done!
|
||||
@@ -29,7 +29,13 @@
|
||||
<strong>Tournament Type:</strong>
|
||||
<%= @tournament.tournament_type %>
|
||||
</p>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<% if user_signed_in? %>
|
||||
<br>
|
||||
<%= link_to "Generate Pool Matches" , "/static_pages/generate_matches?tournament=#{@tournament.id}", :class=>"btn btn-danger" %>
|
||||
<% end %>
|
||||
<br>
|
||||
<br>
|
||||
<h3>School Lineups</h3>
|
||||
|
||||
Reference in New Issue
Block a user