2026-05-30 18:16:39 +00:00
|
|
|
|
<div class="post-votes">
|
|
|
|
|
|
<form method="POST" action="/votes/post/{{ _uid }}" class="inline-form">
|
|
|
|
|
|
<input type="hidden" name="value" value="1">
|
2026-06-08 15:38:33 +00:00
|
|
|
|
<button type="submit" class="post-action-btn vote-up{% if _my_vote == 1 %} voted{% endif %}" aria-label="Upvote" title="Upvote"{{ guest_disabled(user) }}>+</button>
|
2026-05-30 18:16:39 +00:00
|
|
|
|
</form>
|
|
|
|
|
|
<span class="post-vote-count" data-vote-count="{{ _uid }}">{{ _count }}</span>
|
|
|
|
|
|
<form method="POST" action="/votes/post/{{ _uid }}" class="inline-form">
|
|
|
|
|
|
<input type="hidden" name="value" value="-1">
|
2026-06-08 15:38:33 +00:00
|
|
|
|
<button type="submit" class="post-action-btn vote-down{% if _my_vote == -1 %} voted{% endif %}" aria-label="Downvote" title="Downvote"{{ guest_disabled(user) }}>−</button>
|
2026-05-30 18:16:39 +00:00
|
|
|
|
</form>
|
|
|
|
|
|
</div>
|