mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-12 16:48:59 +00:00
Fixing controllers and views with validations
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
<%= f.text_field :name %>
|
||||
</div>
|
||||
|
||||
<% if @tournament_field %>
|
||||
<%= f.hidden_field :tournament_id, :value => @tournament_field %>
|
||||
<% if @tournament %>
|
||||
<%= f.hidden_field :tournament_id, :value => @tournament.id %>
|
||||
<% end %>
|
||||
<br>
|
||||
<div class="actions">
|
||||
|
||||
Reference in New Issue
Block a user