oshipka/vm_gen/templates/html/_action_delete.html

3 lines
188 B
HTML
Raw Normal View History

2021-05-08 15:52:52 +02:00
{% 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 %}