summaryrefslogtreecommitdiff
path: root/lib/sampling/manual.html.erb
blob: 7b71c29c91466a3a4a5974ed64a705833ccbbdbd (plain)
1
2
3
4
5
6
7
8
9
10
11
<% if @tournament.hosts.include? @current_user %>
	<input type="hidden" name="update_action" value="finish" >
	<% @match.teams.each do |team| %>
		<input type="radio", name="winner", value="<%= team.id %>" >
		<%= "Team #{team.id} Won" %>
	<% 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 %>