1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-17 21:29:13 +00:00

Updating views

This commit is contained in:
2015-11-18 13:11:47 +00:00
parent 67727c6391
commit 0ba25da89a
5 changed files with 18 additions and 6 deletions

View File

@@ -17,14 +17,17 @@
<%= f.label "Win Type" %><br>
<%= f.select(:win_type, Match::WIN_TYPES) %>
</div>
<br>
<div class="field">
<%= f.label "Winner" %> Please put in the id of the winner<br>
<%= f.label "Winner" %> Please choose the winner<br>
<%= f.collection_select :winner_id, @wrestlers, :id, :name %>
</div>
<br>
<div class="field">
<%= f.label "Score" %> Also put pin time here if applicable. If default or forfeit, leave blank<br>
<%= f.label "Score" %> Also put pin time here if applicable. If default or forfeit, leave blank. Example: 7-2, 17-2, or 2:34<br>
<%= f.text_field :score %>
</div>
<br>
<%= f.hidden_field :finished, :value => 1 %>
<%= f.hidden_field :round, :value => @match.round %>