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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user