diff --git a/elections/templates/elections/election.html b/elections/templates/elections/election.html index 4364fcb..f550388 100644 --- a/elections/templates/elections/election.html +++ b/elections/templates/elections/election.html @@ -169,9 +169,11 @@ {% endif %} {# Description de l'élection #} +{% if election.description %}
{{ election.description|linebreaksbr }}
+{% endif %} {# Liste des questions #} {% for q in election.questions.all %} diff --git a/elections/templates/elections/election_admin.html b/elections/templates/elections/election_admin.html index 182a8ac..043bab9 100644 --- a/elections/templates/elections/election_admin.html +++ b/elections/templates/elections/election_admin.html @@ -145,9 +145,11 @@
{# Description de l'élection #} +{% if election.description %}
{{ election.description|linebreaksbr }}
+{% endif %} {# Précisions sur les modalités de vote #} {% if election.vote_restrictions %}