On ne met rien si il n'y a pas de description
This commit is contained in:
parent
f67ee64e10
commit
d3df3ac037
2 changed files with 4 additions and 0 deletions
|
@ -169,9 +169,11 @@
|
|||
{% endif %}
|
||||
|
||||
{# Description de l'élection #}
|
||||
{% if election.description %}
|
||||
<div class="message is-primary">
|
||||
<div class="message-body">{{ election.description|linebreaksbr }}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# Liste des questions #}
|
||||
{% for q in election.questions.all %}
|
||||
|
|
|
@ -145,9 +145,11 @@
|
|||
<hr>
|
||||
|
||||
{# Description de l'élection #}
|
||||
{% if election.description %}
|
||||
<div class="message is-primary">
|
||||
<div class="message-body">{{ election.description|linebreaksbr }}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# Précisions sur les modalités de vote #}
|
||||
{% if election.vote_restrictions %}
|
||||
|
|
Loading…
Reference in a new issue