forked from rDrama/rDrama
fdsfsd
parent
ed02947dcd
commit
d77d872dbd
|
@ -360,7 +360,7 @@
|
|||
|
||||
{% 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/{{c.id}}/?vote=' + document.getElementById('{{c.id}}').checked);">
|
||||
<input type="checkbox" class="custom-control-input" id="{{c.id}}" name="option" {% if c.poll_voted(v) %}checked{% endif %} onchange="post('/vote/poll/{{c.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 %}
|
||||
|
|
Loading…
Reference in New Issue