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