Eos/eosweb/core/templates/question/approval/view.html

37 lines
1.2 KiB
HTML
Raw Normal View History

2017-11-23 18:18:01 +11:00
{#
Eos - Verifiable elections
Copyright © 2017 RunasSudo (Yingtong Li)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
<p><small>
Approval voting. Vote for
{% if question.min_choices == question.max_choices %}
exactly {{ question.min_choices }}
{% else %}
between {{ question.min_choices }} and {{ question.max_choices }}
{% endif %}
choices.
{% if question.randomise_choices %}
Order of choices is randomised.
{% endif %}
</small></p>
2017-11-23 18:18:01 +11:00
<ul class="ui list">
{% for choice in question.choices %}
2017-12-11 11:25:01 +11:00
<li>{{ choice.name }}{% if choice.party %} – {{ choice.party }}{% endif %}</li>
2017-11-23 18:18:01 +11:00
{% endfor %}
</ul>