blog/webapp/templates/permission/_actions.html

7 lines
255 B
HTML
Raw Normal View History

2021-05-15 01:04:17 +02:00
{% 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 %}