blob: 67d30dafd63d816896f5ee6c47569ee55973c19f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<%= form_for([@tournament, @tournament.matches.build]) do |f| %>
<div class="field">
<%= f.label :tournament_id %><br>
<%= f.text_field :tournament_id %>
</div>
<div class="field">
<%= f.label :name %><br>
<%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :winner_id %><br>
<%= f.text_field :winner_id %>
</div>
<div class="actions">
<%= f.submit %>
</div>
<% end %>
|