{% if item.can_add %} {% elif item.can_remove %} {% endif %} {% if session['is_admin'] and item.can_remove %} {% endif%}