Fix #256
This commit is contained in:
parent
acd9ba1fd1
commit
68e26ff8c5
|
@ -35,11 +35,23 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tr class="total">
|
<tr class="total">
|
||||||
<td>{% trans "Invalid votes" %}</td>
|
<td>{% trans "Invalid votes" %}</td>
|
||||||
<td>{{ pollform.votesinvalid.errors }}{{ pollform.votesinvalid }}</td>
|
{% for value in poll.get_vote_values %}
|
||||||
|
{% if forloop.first %}
|
||||||
|
<td>{{ pollform.votesinvalid.errors }}{{ pollform.votesinvalid }}</td>
|
||||||
|
{% else %}
|
||||||
|
<td></td>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="total">
|
<tr class="total">
|
||||||
<td>{% trans "Votes cast" %}</td>
|
<td>{% trans "Votes cast" %}</td>
|
||||||
<td>{{ pollform.votescast.errors }}{{ pollform.votescast }}</td>
|
{% for value in poll.get_vote_values %}
|
||||||
|
{% if forloop.first %}
|
||||||
|
<td>{{ pollform.votescast.errors }}{{ pollform.votescast }}</td>
|
||||||
|
{% else %}
|
||||||
|
<td></td>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue