summaryrefslogtreecommitdiff
path: root/app/views/matches/_form.html.erb
blob: 9d402b3208cd4c73775012c2131e0c8d075034cf (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_stage_id %><br>
    <%= f.text_field :tournament_stage_id %>
  </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_area :remote_id %>
  </div>
  <div class="field">
    <%= f.label :submitted_peer_evaluations %><br>
    <%= f.number_field :submitted_peer_evaluations %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>