mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-14 17:33:35 +00:00
Finished setting owner for tournamenr and protecting paths
This commit is contained in:
@@ -31,9 +31,9 @@
|
||||
<%= f.label :tournament_type %><br>
|
||||
<%= f.select :tournament_type, @tournament.tournament_types %>
|
||||
</div>
|
||||
<%= f.hidden_field :user_id, :value => current_user.id %>
|
||||
<br>
|
||||
<br>
|
||||
<%= f.hidden_field :user_id, :value => current_user.id %>
|
||||
<div class="actions">
|
||||
<%= f.submit 'Submit',:class=>"btn btn-success" %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user