{% load helpers %} {% load perms %}

PRISMA Endpoint
{% if not object.id and request.user|can_add:object %} Add Endpoint {% elif object.id and request.user|can_change:object %} Edit Endpoint {% endif %}

{% if request.user|can_view:object %}
{% endif %}