simple-web-app

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

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   >&#9650;</button>
      8 </span>