vote_button.html (269B)
1 <span id="vote-{{ target_type }}-{{ target_id }}"> 2 <button 3 class="vote-btn{% if voted %} voted{% endif %}" 4 data-on:click="@post('/vote/{{ target_type }}/{{ target_id }}')" 5 data-indicator:voting 6 data-attr:disabled="$voting" 7 >▲</button> 8 </span>