blog/webapp/templates/permission/_actions.html
Daniel Tsvetkov d1191c782d new perms
2021-05-15 01:04:17 +02:00

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 %}