blob: e2ec73b98870c592bb759132b52e191388e3b50a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<%= form_for([@tournament, @tournament.matches.build]) do |f| %>
<div class="field">
<%= f.label :status %><br>
<%= f.number_field :status %>
</div>
<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="field">
<%= f.label :remote_id %><br>
<%= f.text_field :remote_id %>
</div>
<div class="actions">
<%= f.submit %>
</div>
<% end %>
|