blob: 015aed0e00ab612b4436c32e0ba932b1f02bc5eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<%= 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="actions">
<%= f.submit %>
</div>
<% end %>
|