You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
5 years ago
|
<html>
|
||
|
<head>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Zadávání pořadí - {{round}}</h1>
|
||
|
<form method="post" action="">
|
||
|
<h2> Problémy </h2>
|
||
|
<ul>
|
||
|
{% for e in errors %}
|
||
|
<li>{{e}}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% for team in teams %}
|
||
|
<h2>Tým {{team.name}}</h2>
|
||
|
<h3>Člověk 1:</h3>
|
||
|
{% for c in people %}
|
||
|
<input type="radio" name="clovek1_{{team.id}}" id="clovek1_{{team.id}}_{{c.id}}" value="{{c.id}}">
|
||
|
<label for="clovek1_{{team.id}}_{{c.id}}">{{c.value}}</label>
|
||
|
{% endfor %}
|
||
|
<h3>Pořadí</h3>
|
||
|
{% for p in order %}
|
||
|
<input type="radio" name="poradi1_{{team.id}}" id="p1_{{team.id}}_{{p.id}}" value="{{p.id}}">
|
||
|
<label for="p1_{{team.id}}_{{p.id}}">{{p.value}}</label>
|
||
|
{% endfor %}
|
||
|
<h3>Člověk 2:</h3>
|
||
|
{% for c in people %}
|
||
|
<input type="radio" name="clovek2_{{team.id}}" id="clovek2_{{team.id}}_{{c.id}}" value="{{c.id}}">
|
||
|
<label for="clovek2_{{team.id}}_{{c.id}}">{{c.value}}</label>
|
||
|
{% endfor %}
|
||
|
<h3>Pořadí</h3>
|
||
|
{% for p in order %}
|
||
|
<input type="radio" name="poradi2_{{team.id}}" id="p2_{{team.id}}_{{p.id}}" value="{{p.id}}">
|
||
|
<label for="p2_{{team.id}}_{{p.id}}">{{p.value}}</label>
|
||
|
{% endfor %}
|
||
|
{% endfor %}
|
||
|
|
||
|
<input type="submit" value="Odeslat">
|
||
|
</form>
|
||
|
</body>
|