mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -05:00
20 lines
633 B
HTML
20 lines
633 B
HTML
{% load sanitizer %}
|
|
{% load taglinks %}
|
|
{% load static %}
|
|
<div class="columns is-multiline">
|
|
{% for option in toot.poll.options %}
|
|
<div class="column is-one-quarter">
|
|
<strong>{{ option.title }}</strong>
|
|
({{ option.votes_count}} vote{{ option.votes_count|pluralize }})
|
|
|
|
</div>
|
|
<div class="column is-three-quarters">
|
|
<progress class="progress is-primary"
|
|
value="{{ option.votes_count }}"
|
|
max="{{ toot.poll.votes_count }}"
|
|
{{ option.votes_count }}
|
|
</progress>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|