{% if has_permission('[[ name|camel_to_snake ]]', 'delete', instance) %}
<a href="{{ url_for('delete_[[ name|camel_to_snake ]]', uuid=instance.id, _next=request.path) }}">x</a>
{% endif %}