%= form_for(@match) do |f| %> <% if @match.errors.any? %>
| Name: <%= @wrestler1_name %>
School: <%= @wrestler1_school_name %> Last Match: <%= @wrestler1_last_match && @wrestler1_last_match.finished_at ? time_ago_in_words(@wrestler1_last_match.finished_at) : "N/A" %> |
Name: <%= @wrestler2_name %>
School: <%= @wrestler2_school_name %> Last Match: <%= @wrestler2_last_match && @wrestler2_last_match.finished_at ? time_ago_in_words(@wrestler2_last_match.finished_at) : "N/A" %> |
|---|---|
| <%= @wrestler1_name %> Stats: <%= f.text_area :w1_stat, cols: "30", rows: "10", data: { match_data_target: "w1Stat" } %> |
<%= @wrestler2_name %> Stats: <%= f.text_area :w2_stat, cols: "30", rows: "10", data: { match_data_target: "w2Stat" } %> |
| <%= @wrestler1_name %> Scoring |
<%= @wrestler2_name %> Scoring |
| <%= @wrestler1_name %> Choice |
<%= @wrestler2_name %> Choice |
| <%= @wrestler1_name %> Warnings |
<%= @wrestler2_name %> Warnings |
| Match Options |
|
<%= @wrestler1_name %> Timer ControlsInjury Time (90 second max): 0 secBlood Time (600 second max): 0 sec |
<%= @wrestler2_name %> Timer ControlsInjury Time (90 second max): 0 secBlood Time (600 second max): 0 sec |