SOITA/templates/tournament_classification.html
2022-06-05 10:27:49 +02:00

35 lines
764 B
HTML

{% extends "base.html" %}
{% load social_share %}
{% block title %}Tournament classification{% endblock %}
{% block content %}
<form method="post">
<label for="name">Turniej: </label>
<select name="name" id="name">
{% for tournament_name in tournament_names %}
<option value="{{tournament_name}}">{{tournament_name}}</option>
{% endfor %}
</select>
<div class="testContent">
<input type="submit" value="Wyszukaj">
</div>
</form>
{% if final_tournaments%}
{% for tournament in final_tournaments%}
{{forloop.counter}}
tuniej: {{tournament.tournament__name}}
wynik: {{tournament.score}}
gracz: {{tournament.user__email}}
data: {{tournament.date|date:"d M Y"}}
<br>
{% endfor %}
{% endif %}
{% endblock %}