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

3 lines
158 B
HTML

{% if has_permission('permission', 'delete', instance) %}
<a href="{{ url_for('delete_permission', uuid=instance.id, _next=request.path) }}">x</a>
{% endif %}