aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-07-18 14:43:00 +0000
committerubq323 <ubq323>2021-07-18 14:43:00 +0000
commit2a0a21ae101ce54080bdedd323a6ca6ddf36d35f (patch)
treef6cf87331a84563422c365e078bb480f98f9f323
parent153ac274490c08375d58fa83042406c6ec52f968 (diff)
fix displaying of poll options
-rw-r--r--apioforum/templates/view_thread.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/apioforum/templates/view_thread.html b/apioforum/templates/view_thread.html
index aec9103..429621a 100644
--- a/apioforum/templates/view_thread.html
+++ b/apioforum/templates/view_thread.html
@@ -7,11 +7,11 @@
{%block content%}
{% if poll %}
<p>{{poll.title}}</p>
-<ul>
+<ol>
{%for opt in poll.options%}
- <li>#{{opt.option_idx}} - {{opt.text}} - {{opt.num or 0}}</li>
+ <li value="{{opt.option_idx}}"><i>{{opt.text}}</i>: {{opt.num or 0}} votes</li>
{%endfor%}
-</ul>
+</ol>
{{ vote_meter(poll) }}
{% endif %}
<div class="thread-top-bar">