OpenSlides/openslides/poll/templates/poll/poll.html
2012-02-15 10:46:55 +01:00

30 lines
696 B
HTML

{% extends 'base.html' %}
{% block content %}
<form action="" method="post">{% csrf_token %}
<table>
<tr>
<th>Option</th>
{% for value in poll.get_vote_values %}
<th>{{ value }}</th>
{% endfor %}
</tr>
{% for form in forms %}
<tr>
<td>{{ form.option }}</td>
{% for value in form %}
<td>
{{ value.errors }}
{{ value }}
</td>
{% endfor %}
</tr>
{% endfor %}
</table>
<button class="button" type="submit">
<span class="icon ok">Save</span>
</button>
</p>
</form>
{% endblock %}