oshipka/vm_gen/templates/html/_actions.html
2021-05-08 15:52:52 +02:00

7 lines
315 B
HTML

{% if not has_permission('[[ name|camel_to_snake ]]', 'update', instance) and not has_permission('[[ name|camel_to_snake ]]', 'delete', instance) %}
{% else %}
[
{% include "[[ name|camel_to_snake ]]/_action_edit.html" %} |
{% include "[[ name|camel_to_snake ]]/_action_delete.html" %}
]
{% endif %}