diff --git a/elections/templates/elections/election.html b/elections/templates/elections/election.html index 80d4fdd..d21845e 100644 --- a/elections/templates/elections/election.html +++ b/elections/templates/elections/election.html @@ -10,15 +10,6 @@

{{ election.name }}

- - {# Dates d'ouverture de l'élection #} -
- {{ election.start_date|date:"d/m/Y H:i" }} - - - - {{ election.end_date|date:"d/m/Y H:i" }} -
@@ -57,17 +48,34 @@ {% endif %}
-
-{# Confirmation de vote #} -{% if has_voted %} -
- - - - {% trans "Votre vote a bien été enregistré." %} +
+ {# Dates d'ouverture de l'élection #} +
+
+ {{ election.start_date|date:"d/m/Y H:i" }} + + + + {{ election.end_date|date:"d/m/Y H:i" }} +
+
+ + {# Confirmation de vote #} + {% if has_voted %} +
+
+
+ + + + {% trans "Votre vote a bien été enregistré." %} +
+
+
+ {% endif %}
-{% endif %} +
{# Indications de connexion #} {% if election.start_date < current_time and election.end_date > current_time %}