7 lines
255 B
HTML
7 lines
255 B
HTML
{% if not has_permission('permission', 'update', instance) and not has_permission('permission', 'delete', instance) %}
|
|
{% else %}
|
|
[
|
|
{% include "permission/_action_edit.html" %} |
|
|
{% include "permission/_action_delete.html" %}
|
|
]
|
|
{% endif %} |