This commit is contained in:
Norman Jäckel 2012-07-01 16:48:44 +02:00
parent acd9ba1fd1
commit 68e26ff8c5

View File

@ -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>