From 68e26ff8c57ae8e0b2b2fa46b1ed30e0210b756a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Sun, 1 Jul 2012 16:48:44 +0200 Subject: [PATCH] Fix #256 --- .../templates/assignment/poll_view.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/openslides/assignment/templates/assignment/poll_view.html b/openslides/assignment/templates/assignment/poll_view.html index eceb3278d..a55f5265e 100644 --- a/openslides/assignment/templates/assignment/poll_view.html +++ b/openslides/assignment/templates/assignment/poll_view.html @@ -35,11 +35,23 @@ {% endfor %} {% trans "Invalid votes" %} - {{ pollform.votesinvalid.errors }}{{ pollform.votesinvalid }} + {% for value in poll.get_vote_values %} + {% if forloop.first %} + {{ pollform.votesinvalid.errors }}{{ pollform.votesinvalid }} + {% else %} + + {% endif %} + {% endfor %} {% trans "Votes cast" %} - {{ pollform.votescast.errors }}{{ pollform.votescast }} + {% for value in poll.get_vote_values %} + {% if forloop.first %} + {{ pollform.votescast.errors }}{{ pollform.votescast }} + {% else %} + + {% endif %} + {% endfor %}