{% load i18n %} {% load taskfilters %}
{% if request.user|task_crud_perm:instance or perms.project.view_task %}
{% if instance.is_active %} {% else %} {% endif %}
{% csrf_token %}
{% else %}
{% endif %}