master
Aevann1 2021-10-06 01:11:15 +02:00
parent ebdbe2b522
commit 927c26d3ab
1 changed files with 9 additions and 0 deletions

View File

@ -357,6 +357,15 @@
<pre></pre>
{% endif %}
{{p.realbody(v) | safe}}
{% for c in p.options %}
<div class="custom-control">
<input type="checkbox" class="custom-control-input" id="{{c.id}}" name="option" {% if c.poll_voted(v) %}checked{% endif %} onchange="post('/vote/comment/<comment_id>/?vote=' + document.getElementById('{{c.id}}').checked);">
<label class="custom-control-label" for="{{c.id}}">{{c.body}} - <a href="/votes?link=t3_{{c.id}}">{c.upvotes} votes</a></label>
</div>
{% endfor %}
</div>
{% if p.embed_url %}