forked from rDrama/rDrama
sdf
parent
ebdbe2b522
commit
927c26d3ab
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue