{% load url from future %}
{% csrf_token %} +{{ object.likes }}/-{{ object.dislikes }} {% if object.myvote == 1 %} You like it (cancel) {% elif object.myvote == -1 %} You dislike it (cancel) {% else %} Like Dislike {% endif %}