1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-12 16:25:41 +00:00

Added is_public to a tournament to hide lineups and brackets until you're ready to make it public

This commit is contained in:
2023-01-01 23:16:12 -05:00
parent d675337d7a
commit c328bbd91c
15 changed files with 547 additions and 16 deletions

View File

@@ -43,6 +43,15 @@
<%= f.hidden_field :user_id, :value => current_user.id %>
<br>
<br>
<div class="field">
<%= f.label "Information is public" %> <br />
<%= f.check_box :is_public %> <br />
</div>
<div>
Leave this unchecked until you're ready to share seeding info, brackets, and lineups.
</div>
<br>
<br>
<div class="actions">
<%= f.submit 'Submit',:class=>"btn btn-success" %>
</div>