From 60cd69bb1b04b2e89f81ced96710325a3a8003f0 Mon Sep 17 00:00:00 2001 From: Yingtong Li Date: Fri, 5 Jan 2018 17:26:37 +0800 Subject: [PATCH] Make election display consistent with previous commit --- eosweb/core/templates/question/approval/view.html | 13 ++++++++++++- .../core/templates/question/preferential/view.html | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/eosweb/core/templates/question/approval/view.html b/eosweb/core/templates/question/approval/view.html index 4d49030..8aa8929 100644 --- a/eosweb/core/templates/question/approval/view.html +++ b/eosweb/core/templates/question/approval/view.html @@ -16,7 +16,18 @@ along with this program. If not, see . #} -

Approval voting. Vote for between {{ question.min_choices }} and {{ question.max_choices }} choices.{% if question.randomise_choices %} Order of choices is randomised.{% endif %}

+

+ Approval voting. Vote for + {% if question.min_choices == question.max_choices %} + exactly {{ question.min_choices }} + {% else %} + between {{ question.min_choices }} and {{ question.max_choices }} + {% endif %} + choices. + {% if question.randomise_choices %} + Order of choices is randomised. + {% endif %} +