blog/webapp/templates/blog_post/_actions.html

7 lines
251 B
HTML
Raw Normal View History

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