summaryrefslogtreecommitdiff
path: root/lib/sampling/manual.html.erb
blob: 187f00236ea7e76a757ab3d5a11a34bdf885a8c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% if @tournament.hosts.include? @current_user %>
	<input type="hidden" name="update_action" value="finish" >
	<% @match.teams.each do |team| %>
		<label>
			<input type="radio", name="win", value="<%= team.id %>" >
			<%= "Team #{team.id} Won" %>
		</label>
	<% end %>
	<br>
	<input type="submit", value="Finish match" >
<% else %>
	<p>The match is running; the host has yet to post the scores of the match.</p>
<% end %>