blog/webapp/templates/blog_post/_action_delete.html

3 lines
156 B
HTML
Raw Permalink Normal View History

2021-05-15 01:04:17 +02:00
{% if has_permission('blog_post', 'delete', instance) %}
<a href="{{ url_for('delete_blog_post', uuid=instance.id, _next=request.path) }}">x</a>
{% endif %}