blog/webapp/templates/permission/_action_delete.html

3 lines
158 B
HTML
Raw Permalink Normal View History

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