forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-10 21:17:39 -06:00
parent a918fcbc5d
commit 6e2831af3b
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
<div class="md:inline-block p-2.5 md:p-4 bg-gray-100 border border-gray-300 rounded-md shadow-inset-t-white-10">
<div class="md:inline-block p-2.5 md:px-4 md:py-3 bg-gray-100 border border-gray-300 rounded-md shadow-inset-t-white-10">
<ul class="flex flex-col space-y-2 mb-0">
{% for c in p.options %}
<li>
<input type="checkbox" id="{{c.id}}" name="option" {% if c.poll_voted(v) %}checked{% endif %} onchange="poll_vote('{{c.id}}')">
<label class="inline-block pl-2 text-gray-400" for="{{c.id}}">{{c.body_html | safe}} - <a href="/votes?link=t3_{{c.id}}">
<span id="poll-{{c.id}}">{{c.upvotes}}</span> votes</a>
<span id="poll-{{c.id}}" class="font-bold">{{c.upvotes}}</span> votes</a>
</label>
</li>
{% endfor %}