Skip to content
Snippets Groups Projects
Commit 326777c4 authored by Ben Adida's avatar Ben Adida
Browse files

improved display of results, still need to highlight winner

parent 8e0d4a6b
Branches
Tags
No related merge requests found
...@@ -136,14 +136,14 @@ all voters will be notified that the tally is ready. ...@@ -136,14 +136,14 @@ all voters will be notified that the tally is ready.
</span><br /> </span><br />
<br /> <br />
<h2 class="highlight-box">Tally</h2> <h3 class="highlight-box">Tally</h3>
{% for question in election.pretty_result %} {% for question in election.pretty_result %}
<b>{{question.question}}</b>: <b><span style="font-size:0.8em;">Question #{{forloop.counter}}</span><br />{{question.question}}</b><br />
<ul> <table class="pretty" style="width: auto;">
{% for answer in question.answers %} {% for answer in question.answers %}
<li> {{answer.answer}}: {{answer.count}} <tr><td style="padding-right:80px;">{{answer.answer}}</td><td align="right">{{answer.count}}</td></tr>
{% endfor %} {% endfor %}
</ul> </table>
{% endfor %} {% endfor %}
{% else %} {% else %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment