1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Hide one more text on tournament show page depending on if tournament is public or not

This commit is contained in:
2023-01-02 22:08:31 -05:00
parent 1d646cb05d
commit b5ab929270

View File

@@ -25,7 +25,7 @@
<strong>Tournament Information Is Public:</strong>
<%= @tournament.is_public %>
</p>
<p>Brackets and team scores can be found in the white nav-bar up top.</p>
<% if can? :read, @tournament %><p>Brackets and team scores can be found in the white nav-bar up top.</p><% end %>
<br>
<h3>Schools</h3>
<p>Click to see lineups, bout numbers, score breakdowns, and stats.</p>