From 7460785e537a71b98ff5727fb19cae89b29f36aa Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 7 Apr 2021 19:12:33 +0200 Subject: [PATCH] On rajoute un tooltip pour expliquer les duels --- elections/templates/elections/results/rank.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/elections/templates/elections/results/rank.html b/elections/templates/elections/results/rank.html index 5b76c02..073cfda 100644 --- a/elections/templates/elections/results/rank.html +++ b/elections/templates/elections/results/rank.html @@ -22,6 +22,7 @@ {% for line in matrix %} + {% with loser=forloop.counter %} @@ -31,9 +32,10 @@ {% for cell in line %} - {{ cell }} + {{ cell }} {% endfor %} + {% endwith %} {% endfor %}